fix tree-sitter-nvim

This commit is contained in:
Anish Lakhwara 2023-02-06 03:07:39 +10:00
parent b9b0015a93
commit ab009a1363

View file

@ -678,8 +678,8 @@ in
-- treesitter
require('nvim-treesitter.configs').setup {
parser_install_dir = "~/.local/share/nvim/site/parser/",
ensure_installed={'nix', 'clojure', 'python', 'fennel', 'lua', 'html', 'css', 'regex', 'supercollider', 'beancount'},
-- parser_install_dir = "~/.local/share/nvim/site/parser/",
-- ensure_installed={'nix', 'clojure', 'python', 'fennel', 'lua', 'html', 'css', 'regex', 'supercollider', 'beancount'},
highlight = { enabled = true, additional_vim_regex_highting = true, },
textobjects = { enabled = true },
}
@ -850,7 +850,6 @@ in
'';
extraPackages = with pkgs // customPlugins; [
# used to compile tree-sitter grammar
tree-sitter
python-with-my-packages
nodejs
clojure-lsp
@ -885,7 +884,7 @@ in
telescope-nvim
plenary-nvim
nvim-navic
nvim-treesitter
nvim-treesitter.withAllGrammars
nvim-treesitter-context
my-fterm
barbar-nvim