summaryrefslogtreecommitdiffstats
path: root/after
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-09-21 18:25:43 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-09-21 18:25:43 -0500
commit4f76a8550fe8a70d75a487d12205885aa72ea49a (patch)
tree333a9288332f2818c3ccb8866d2d8dc4c0f186c6 /after
parent0ed8b1e03c7ffa1dc2a30392b65078606a5c8427 (diff)
downloadnvim-4f76a8550fe8a70d75a487d12205885aa72ea49a.tar.xz
nvim-4f76a8550fe8a70d75a487d12205885aa72ea49a.zip
add user@host marker to statusline in ssh and window title. move tabs options for sass into ftplugin. move ftplugin to after/ftplugin to load and override official ftplugins
Diffstat (limited to 'after')
-rw-r--r--after/ftplugin/nix.lua4
-rw-r--r--after/ftplugin/sass.lua7
l---------after/ftplugin/scss.lua1
3 files changed, 12 insertions, 0 deletions
diff --git a/after/ftplugin/nix.lua b/after/ftplugin/nix.lua
new file mode 100644
index 0000000..a1371c2
--- /dev/null
+++ b/after/ftplugin/nix.lua
@@ -0,0 +1,4 @@
+--vim.bo.expandtab = true
+vim.bo.tabstop = 2
+vim.bo.shiftwidth = 2
+vim.bo.softtabstop = 2
diff --git a/after/ftplugin/sass.lua b/after/ftplugin/sass.lua
new file mode 100644
index 0000000..049ac89
--- /dev/null
+++ b/after/ftplugin/sass.lua
@@ -0,0 +1,7 @@
+-- tabs instead of spaces
+vim.opt_local.expandtab = false
+--vim.opt_local.cinoptions = true
+--vim.opt_local.preserveindent = true
+vim.opt_local.softtabstop = 0
+vim.opt_local.shiftwidth = 4
+vim.opt_local.tabstop = 4
diff --git a/after/ftplugin/scss.lua b/after/ftplugin/scss.lua
new file mode 120000
index 0000000..a593f83
--- /dev/null
+++ b/after/ftplugin/scss.lua
@@ -0,0 +1 @@
+sass.lua \ No newline at end of file