From: Lukas Hägele Date: Sun, 4 Oct 2026 14:41:05 +0000 (+0200) Subject: add treesitter syntax highlighting X-Git-Url: https://git.lhaegele.de/?a=commitdiff_plain;h=fdbc377187c2d8528807af42e3582add8589c657;p=dotfiles_nvim.git add treesitter syntax highlighting --- diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua new file mode 100644 index 0000000..fe6caae --- /dev/null +++ b/after/ftplugin/c.lua @@ -0,0 +1 @@ +vim.treesitter.start() diff --git a/after/ftplugin/lua.lua b/after/ftplugin/lua.lua index 8e7a8cd..5e33176 100644 --- a/after/ftplugin/lua.lua +++ b/after/ftplugin/lua.lua @@ -1,3 +1,5 @@ +vim.treesitter.start() + local set = vim.opt_local set.shiftwidth = 2