summaryrefslogtreecommitdiff
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-10 15:28:50 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-10 15:28:50 +0100
commitc9fef7cf5758f8dc528f42258d20ed2e308a3017 (patch)
tree270855519966af2784bfc5dc5490c5eaba51c6d9 /.config/nvim/after
parentcd287ac79860326e5bb6d852db29aa37b5e00757 (diff)
nvim: Add some more ftplugins
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/ftplugin/markdown.lua2
-rw-r--r--.config/nvim/after/ftplugin/query.lua1
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/markdown.lua b/.config/nvim/after/ftplugin/markdown.lua
new file mode 100644
index 0000000..1b0dfd2
--- /dev/null
+++ b/.config/nvim/after/ftplugin/markdown.lua
@@ -0,0 +1,2 @@
+vim.opt_local.textwidth = 80
+vim.opt_local.expandtab = true
diff --git a/.config/nvim/after/ftplugin/query.lua b/.config/nvim/after/ftplugin/query.lua
new file mode 100644
index 0000000..9aa3038
--- /dev/null
+++ b/.config/nvim/after/ftplugin/query.lua
@@ -0,0 +1 @@
+vim.opt_local.expandtab = true