From 3b2163b821f4dbf1003804b9b19fd276dc4bc350 Mon Sep 17 00:00:00 2001 From: tdback Date: Wed, 4 Dec 2024 18:48:24 -0500 Subject: initial commit to new repo --- after/ftplugin/go.lua | 3 +++ after/ftplugin/html.lua | 3 +++ after/ftplugin/lua.lua | 3 +++ after/ftplugin/markdown.lua | 2 ++ after/ftplugin/nix.lua | 3 +++ after/ftplugin/sh.lua | 3 +++ after/ftplugin/text.lua | 2 ++ after/ftplugin/zig.lua | 2 ++ 8 files changed, 21 insertions(+) create mode 100644 after/ftplugin/go.lua create mode 100644 after/ftplugin/html.lua create mode 100644 after/ftplugin/lua.lua create mode 100644 after/ftplugin/markdown.lua create mode 100644 after/ftplugin/nix.lua create mode 100644 after/ftplugin/sh.lua create mode 100644 after/ftplugin/text.lua create mode 100644 after/ftplugin/zig.lua (limited to 'after') 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 -- cgit v1.2.3