summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/haml.lua
diff options
context:
space:
mode:
authormoxie <moxie.git@posteo.net>2025-09-30 12:27:44 +0300
committermoxie <moxie.git@posteo.net>2025-09-30 12:27:44 +0300
commit1e27d1c7b25e4d28a25c0fa2c4e6e33a66b9072e (patch)
tree7169509b4d5dfce3ed25fe333cc506a40f5c90f2 /.config/nvim/after/ftplugin/haml.lua
parent51797f743fe74d1723ca62085f92e8c5e953038b (diff)
add nvim configs
Diffstat (limited to '.config/nvim/after/ftplugin/haml.lua')
-rw-r--r--.config/nvim/after/ftplugin/haml.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/haml.lua b/.config/nvim/after/ftplugin/haml.lua
new file mode 100644
index 0000000..b0ca49c
--- /dev/null
+++ b/.config/nvim/after/ftplugin/haml.lua
@@ -0,0 +1,8 @@
+local setlocal = vim.opt_local
+
+setlocal.expandtab = true
+setlocal.tabstop = 2
+setlocal.softtabstop = 2
+setlocal.shiftwidth = 2
+setlocal.textwidth = 120
+setlocal.formatoptions:remove { "o" }