[fix] Update plugins and use inlayHints from nvim 0.10

This commit is contained in:
Uttarayan Mondal
2024-01-12 12:11:38 +05:30
parent 2fb460549d
commit 15121db53c
8 changed files with 115 additions and 271 deletions

View File

@@ -113,3 +113,13 @@ require 'nvim-treesitter.configs'.setup {
additional_vim_regex_highlighting = false,
},
}
require('nvim-treesitter.install').compilers = { "gcc-11", "clang" }
require('nvim-treesitter.parsers').get_parser_configs().just = {
install_info = {
url = "https://github.com/IndianBoy42/tree-sitter-just", -- local path or git repo
files = { "src/parser.c", "src/scanner.cc" },
branch = "main",
use_makefile = true, -- this may be necessary on MacOS (try if you see compiler errors)
},
maintainers = { "@IndianBoy42" },
}