aboutsummaryrefslogtreecommitdiff
path: root/plugin-settings/nvim-treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugin-settings/nvim-treesitter.lua')
-rw-r--r--plugin-settings/nvim-treesitter.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugin-settings/nvim-treesitter.lua b/plugin-settings/nvim-treesitter.lua
new file mode 100644
index 0000000..4afe91e
--- /dev/null
+++ b/plugin-settings/nvim-treesitter.lua
@@ -0,0 +1,13 @@
+require("nvim-treesitter.configs").setup({
+ -- A list of parser names, or "all" (the four listed parsers should always be installed)
+ ensure_installed = { "c", "lua", "vim" },
+ ignore_install = { "org" },
+
+ -- Automatically install missing parsers when entering buffer
+ -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
+ auto_install = true,
+
+ highlight = {
+ enable = true,
+ },
+})