diff --git a/flake.lock b/flake.lock index 4d929fa..3fb2a47 100644 --- a/flake.lock +++ b/flake.lock @@ -397,15 +397,16 @@ "nvim-treesitter-src": { "flake": false, "locked": { - "lastModified": 1679482116, - "narHash": "sha256-SofmIKv/zGsocOBEbmzOraTE0GuLDjrJB2gZhKCz8ok=", + "lastModified": 1677248832, + "narHash": "sha256-4TmtrufxjVpnSNfFpn6GQStEhq3KQb3JfmfMEJnSI8k=", "owner": "nvim-treesitter", "repo": "nvim-treesitter", - "rev": "dbdbd71b41a3627e0f2784eff746ad4366e2a21c", + "rev": "b401b7423d18c78371c5ff1a5f8d3c14292b2047", "type": "github" }, "original": { "owner": "nvim-treesitter", + "ref": "v0.8.5.2", "repo": "nvim-treesitter", "type": "github" } diff --git a/flake.nix b/flake.nix index a2a464d..c483b83 100644 --- a/flake.nix +++ b/flake.nix @@ -74,7 +74,7 @@ flake = false; }; nvim-treesitter-src = { - url = "github:nvim-treesitter/nvim-treesitter"; + url = "github:nvim-treesitter/nvim-treesitter/v0.8.5.2"; flake = false; }; telescope-nvim-src = { diff --git a/modules/common/neovim/config/syntax.nix b/modules/common/neovim/config/syntax.nix index 56b8529..6cf4c42 100644 --- a/modules/common/neovim/config/syntax.nix +++ b/modules/common/neovim/config/syntax.nix @@ -1,17 +1,7 @@ { pkgs, ... }: { plugins = [ - (pkgs.vimPlugins.nvim-treesitter.withPlugins (_plugins: - with pkgs.tree-sitter-grammars; [ - tree-sitter-hcl - tree-sitter-python - tree-sitter-lua - tree-sitter-nix - tree-sitter-fish - tree-sitter-toml - tree-sitter-yaml - tree-sitter-json - ])) + pkgs.vimPlugins.nvim-treesitter.withAllGrammars pkgs.vimPlugins.vim-matchup # Better % jumping in languages pkgs.vimPlugins.nginx-vim pkgs.vimPlugins.vim-helm