aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorMax Christian Pohle2024-09-01 02:00:46 +0200
committerMax Christian Pohle2024-09-01 02:00:46 +0200
commitfe0e677564995c25119beb8238234c24ef6e592c (patch)
treee33fef58ae6a906ae89382c82ebcb541e3f3a997 /lua/plugins/treesitter.lua
parent7172c36d4508510ad844fcbea1bd3bc496da809e (diff)
downloadvim-fe0e677564995c25119beb8238234c24ef6e592c.tar.bz2
vim-fe0e677564995c25119beb8238234c24ef6e592c.zip
refactored the entire config
Diffstat (limited to 'lua/plugins/treesitter.lua')
-rw-r--r--lua/plugins/treesitter.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..9673f63
--- /dev/null
+++ b/lua/plugins/treesitter.lua
@@ -0,0 +1,20 @@
1return {
2 -- treesitter is experimental and breaks indentation on xml, html with `=`
3 -- treesitter is optional for orgmode, but without it syntax highlighting in
4 -- org files is broken
5 'nvim-treesitter/nvim-treesitter',
6 config = function()
7 require'nvim-treesitter.configs'.setup {
8 ensure_installed = {"c", "html", "css", "javascript", "org"},
9 sync_install = false,
10 auto_install = true,
11 ignore_install = {},
12 disable = { },
13 modules = { "all" },
14 highlight = {
15 enable = true,
16 }
17 }
18 end
19}
20
..