diff options
| author | delta <darkussdelta@gmail.com> | 2026-06-27 03:10:52 +0200 |
|---|---|---|
| committer | delta <darkussdelta@gmail.com> | 2026-06-27 03:10:52 +0200 |
| commit | ed6f7f69f2d420ec8f6936a40cba85823831798b (patch) | |
| tree | a844a12225dfd52890443fd75aa3ff2b36750a06 /.config/nvim/lua/plugins/nvim-treesitter.lua | |
| parent | a8df0129f9dee734e6d3b4023b38207cf2feabf7 (diff) | |
nveeem config
Diffstat (limited to '.config/nvim/lua/plugins/nvim-treesitter.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/nvim-treesitter.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugins/nvim-treesitter.lua b/.config/nvim/lua/plugins/nvim-treesitter.lua index 2f8e3cb..e5aadb7 100644 --- a/.config/nvim/lua/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/plugins/nvim-treesitter.lua @@ -63,6 +63,7 @@ return { if not parser_exists then -- check if parser is already installed + print(vim.inspect(already_installed)) if vim.tbl_contains(already_installed, parser_name) then vim.notify("Parser for " .. parser_name .. " already installed.", vim.log.levels.INFO) init_treesitter() @@ -72,7 +73,8 @@ return { -- treesitter.install({ parser_name }):await(init_treesitter) end else - init_treesitter() + -- FIXME: the parser exists but not installed, shouldn't run + -- init_treesitter() end end, @@ -82,6 +84,7 @@ return { parsers = { "lua", "c", + "css", "vim", "vimdoc", "query", @@ -106,7 +109,10 @@ return { "styled", "nix", "gitignore", - "meson" + "meson", + "jsx", + "tsx", + "slint" -- "d2" }, custom_parsers = { |
