aboutsummaryrefslogtreecommitdiffstats
path: root/after/ftplugin
diff options
context:
space:
mode:
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=