From c9fef7cf5758f8dc528f42258d20ed2e308a3017 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 10 Nov 2023 15:28:50 +0100 Subject: nvim: Add some more ftplugins --- .config/nvim/after/ftplugin/markdown.lua | 2 ++ .config/nvim/after/ftplugin/query.lua | 1 + 2 files changed, 3 insertions(+) create mode 100644 .config/nvim/after/ftplugin/markdown.lua create mode 100644 .config/nvim/after/ftplugin/query.lua (limited to '.config/nvim/after') 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 -- cgit v1.2.3