aboutsummaryrefslogtreecommitdiffstats
path: root/after/ftplugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-02-03 11:21:08 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-02-03 11:21:08 +0100
commit587947f5bffeb2b18f80b0f713580dfa4addc08b (patch)
tree5fdd34d3672b78d9316edff785e72f8db2156aac /after/ftplugin
parent5b2542081b433fd24dc4ae35335a767815e5d986 (diff)
downloadnvim-conf-587947f5bffeb2b18f80b0f713580dfa4addc08b.tar.gz
nvim-conf-587947f5bffeb2b18f80b0f713580dfa4addc08b.zip
feat: update colorscheme config, move cucumber from vim to lua
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/cucumber.lua9
-rw-r--r--after/ftplugin/cucumber.vim8
2 files changed, 9 insertions, 8 deletions
diff --git a/after/ftplugin/cucumber.lua b/after/ftplugin/cucumber.lua
new file mode 100644
index 0000000..241d229
--- /dev/null
+++ b/after/ftplugin/cucumber.lua
@@ -0,0 +1,9 @@
+local set = vim.bo
+
+set.expandtab = true
+set.tabstop = 2
+set.softtabstop = 2
+set.shiftwidth = 2
+set.smartindent = false
+set.cindent = false
+set.indentexpr = ""
diff --git a/after/ftplugin/cucumber.vim b/after/ftplugin/cucumber.vim
deleted file mode 100644
index beda297..0000000
--- a/after/ftplugin/cucumber.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-setlocal expandtab
-setlocal tabstop=2
-setlocal softtabstop=2
-setlocal shiftwidth=2
-setlocal indentkeys -=<:>
-setlocal nosmartindent
-setlocal nocindent
-setlocal indentexpr=