diff options
author | tdback <tyler@tdback.net> | 2024-12-04 18:48:24 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2024-12-04 18:48:24 -0500 |
commit | 3b2163b821f4dbf1003804b9b19fd276dc4bc350 (patch) | |
tree | 809a679142eae8e7d3b4d2b3cf1426416883a7f9 /after/ftplugin |
initial commit to new repo
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 |