diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-10-07 13:52:08 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-10-07 13:52:08 -0400 |
| commit | 3db7c943e7c954c6e22ef6077b8d6ae489c91edc (patch) | |
| tree | e35cf7dcc9bfc7f79931ffaea9355cd3ce794618 /.config/nvim/lua/plugins/treesitter.lua | |
| parent | a49fcc782ad4e84ae68c69393604f2702da913b9 (diff) | |
Better Module Structure and knap live preview
Diffstat (limited to '.config/nvim/lua/plugins/treesitter.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/treesitter.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..b75b2b3 --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,16 @@ +require'nvim-treesitter.configs'.setup { + ensure_installed = { "c" }, + sync_install = false, + auto_install = true, + + highlight = { + enable = true, + + -- Setting this to true will run `:h syntax` and tree-sitter at the same time. + -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). + -- Using this option may slow down your editor, and you may see some duplicate highlights. + -- Instead of true it can also be a list of languages + additional_vim_regex_highlighting = false, + }, +} + |
