diff options
author | Dustin Walker <dustin.walker@email.wsu.edu> | 2025-01-16 17:00:08 -0500 |
---|---|---|
committer | Dustin Walker <dustin.walker@email.wsu.edu> | 2025-01-16 17:00:08 -0500 |
commit | fcf44b17142cbeaf1f6a4b66e5ab0eed1483ebe4 (patch) | |
tree | f9d4625d612af99557ff0249dbf5f1fccc6175c8 /.config/nvim/lua/config |
Diffstat (limited to '.config/nvim/lua/config')
-rw-r--r-- | .config/nvim/lua/config/treesitter.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/config/treesitter.lua b/.config/nvim/lua/config/treesitter.lua new file mode 100644 index 0000000..29f5158 --- /dev/null +++ b/.config/nvim/lua/config/treesitter.lua @@ -0,0 +1,14 @@ +require'nvim-treesitter.configs'.setup { + -- A list of parser names, or "all" (the five listed parsers should always be installed) + ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "c_sharp", "python", "cpp", "gitignore", "gitattributes", "git_config", "git_rebase", "gitcommit", "html", "javascript", "make", "cmake", "zig", "bash", "asm", "json", "xml", "css" }, + + -- Install parsers synchronously (only applied to `ensure_installed`) + sync_install = false, + + -- Automatically install missing parsers when entering buffer + auto_install = true, + + highlight = { + enable = true, + }, +} |