From cf405980ff5983ef4ff5d94ab28a8ed9c3906ec9 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 3 May 2025 19:56:10 +0300 Subject: Declaratively list all the treesitter parsers I use --- .config/nvim/lua/plugins/nvim-treesitter.lua | 31 +++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/plugins') diff --git a/.config/nvim/lua/plugins/nvim-treesitter.lua b/.config/nvim/lua/plugins/nvim-treesitter.lua index b9b7c44..e332c70 100644 --- a/.config/nvim/lua/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/plugins/nvim-treesitter.lua @@ -13,7 +13,6 @@ return { opts = { highlight = { enable = true }, indent = { enable = true }, - auto_install = true, rainbow = { enable = true, extended_mode = true, @@ -21,23 +20,52 @@ return { }, ensure_installed = { + 'asm', + 'astro', 'bash', 'c', + 'cpp', + 'css', + 'csv', 'diff', + 'desktop', + 'git_config', + 'git_rebase', + 'gitattributes', + 'gitcommit', + 'gitignore', + 'go', + 'gomod', + 'gosum', + 'gowork', + 'groovy', 'html', + 'ini', + 'java', 'javascript', 'jsdoc', 'json', 'jsonc', + 'latex', + 'linkerscript', 'lua', 'luadoc', 'luap', + 'make', 'markdown', 'markdown_inline', + 'mermaid', + 'nix', + 'pem', 'printf', 'python', 'query', 'regex', + 'rust', + 'scheme', + 'sql', + 'ssh_config', + 'tmux', 'toml', 'tsx', 'typescript', @@ -45,6 +73,7 @@ return { 'vimdoc', 'xml', 'yaml', + 'zig', }, incremental_selection = { -- cgit v1.3.1