summaryrefslogtreecommitdiff
path: root/lua/user/treesitter.lua
diff options
context:
space:
mode:
authorlouie <louie@example.com>2022-07-01 15:22:52 -0700
committerlouie <louie@example.com>2022-07-01 15:22:52 -0700
commit91a9eae36ccbc5fdc02c8cb60e34f3fe49501298 (patch)
tree0a83e8ab3af80a51110eb823c5e0d0d6251ebdd0 /lua/user/treesitter.lua
parentfe0a52aa73384b9980fd7ecf70c9a6c3f982ceb3 (diff)
Added (off by default) treesitter
Diffstat (limited to 'lua/user/treesitter.lua')
-rw-r--r--lua/user/treesitter.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua
new file mode 100644
index 0000000..0b5650a
--- /dev/null
+++ b/lua/user/treesitter.lua
@@ -0,0 +1,13 @@
+local configs = require("nvim-treesitter.configs")
+configs.setup {
+ ensure_installed = "",
+ sync_install = false,
+ ignore_install = { "" }, -- List of parsers to ignore installing
+ highlight = {
+ enable = true, -- false will disable the whole extension
+ disable = { "" }, -- list of language that will be disabled
+ additional_vim_regex_highlighting = true,
+
+ },
+ indent = { enable = false, },
+}