1 -- Nvim Treesitter configurations and abstraction layer.
2 -- https://github.com/nvim-treesitter/nvim-treesitter
7 require("nvim-treesitter.configs").setup({
8 -- Disable imperative treesitter options that would attempt to fetch
9 -- grammars into the read-only Nix store.
12 ensure_installed = {},
14 -- Indentation module for Treesitter
20 -- Highlight module for Treesitter
24 -- Setting this to true will run `:h syntax` and tree-sitter at the same time.
25 -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
26 -- Using this option may slow down your editor, and you may see some duplicate highlights.
27 -- Instead of true it can also be a list of languages
28 additional_vim_regex_highlighting = false,
31 -- Indentation module for Treesitter
32 incremental_selection = {
36 init_selection = false,
37 node_incremental = false,
38 scope_incremental = false,
39 node_decremental = false,