From ab009a13638b2ebde1bd848c7300909532c9fe3d Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Mon, 6 Feb 2023 03:07:39 +1000 Subject: [PATCH] fix tree-sitter-nvim --- home/profiles/nvim/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/home/profiles/nvim/default.nix b/home/profiles/nvim/default.nix index 10977cb..dd3c923 100644 --- a/home/profiles/nvim/default.nix +++ b/home/profiles/nvim/default.nix @@ -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