diff options
Diffstat (limited to 'after/ftplugin')
-rw-r--r-- | after/ftplugin/go.lua | 3 | ||||
-rw-r--r-- | after/ftplugin/html.lua | 3 | ||||
-rw-r--r-- | after/ftplugin/lua.lua | 3 | ||||
-rw-r--r-- | after/ftplugin/markdown.lua | 2 | ||||
-rw-r--r-- | after/ftplugin/nix.lua | 3 | ||||
-rw-r--r-- | after/ftplugin/sh.lua | 3 | ||||
-rw-r--r-- | after/ftplugin/text.lua | 2 | ||||
-rw-r--r-- | after/ftplugin/zig.lua | 2 |
8 files changed, 21 insertions, 0 deletions
diff --git a/after/ftplugin/go.lua b/after/ftplugin/go.lua new file mode 100644 index 0000000..753f08f --- /dev/null +++ b/after/ftplugin/go.lua @@ -0,0 +1,3 @@ +vim.opt_local.shiftwidth = 4 +vim.opt_local.tabstop = 4 +vim.opt_local.expandtab = false diff --git a/after/ftplugin/html.lua b/after/ftplugin/html.lua new file mode 100644 index 0000000..78c5eeb --- /dev/null +++ b/after/ftplugin/html.lua @@ -0,0 +1,3 @@ +vim.opt_local.shiftwidth = 2 +vim.opt_local.tabstop = 2 +vim.opt_local.expandtab = true diff --git a/after/ftplugin/lua.lua b/after/ftplugin/lua.lua new file mode 100644 index 0000000..78c5eeb --- /dev/null +++ b/after/ftplugin/lua.lua @@ -0,0 +1,3 @@ +vim.opt_local.shiftwidth = 2 +vim.opt_local.tabstop = 2 +vim.opt_local.expandtab = true diff --git a/after/ftplugin/markdown.lua b/after/ftplugin/markdown.lua new file mode 100644 index 0000000..9e5828c --- /dev/null +++ b/after/ftplugin/markdown.lua @@ -0,0 +1,2 @@ +vim.opt_local.spell = true +vim.opt_local.textwidth = 79 diff --git a/after/ftplugin/nix.lua b/after/ftplugin/nix.lua new file mode 100644 index 0000000..78c5eeb --- /dev/null +++ b/after/ftplugin/nix.lua @@ -0,0 +1,3 @@ +vim.opt_local.shiftwidth = 2 +vim.opt_local.tabstop = 2 +vim.opt_local.expandtab = true diff --git a/after/ftplugin/sh.lua b/after/ftplugin/sh.lua new file mode 100644 index 0000000..78c5eeb --- /dev/null +++ b/after/ftplugin/sh.lua @@ -0,0 +1,3 @@ +vim.opt_local.shiftwidth = 2 +vim.opt_local.tabstop = 2 +vim.opt_local.expandtab = true diff --git a/after/ftplugin/text.lua b/after/ftplugin/text.lua new file mode 100644 index 0000000..9e5828c --- /dev/null +++ b/after/ftplugin/text.lua @@ -0,0 +1,2 @@ +vim.opt_local.spell = true +vim.opt_local.textwidth = 79 diff --git a/after/ftplugin/zig.lua b/after/ftplugin/zig.lua new file mode 100644 index 0000000..d217b58 --- /dev/null +++ b/after/ftplugin/zig.lua @@ -0,0 +1,2 @@ +vim.g.zig_fmt_parse_on_errors = 0 +vim.g.zig_fmt_autosave = 0 |