summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-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