From 70a4e1e1e1f353b2d95a4b068848498aec0df32d Mon Sep 17 00:00:00 2001 From: Minijackson Date: Sun, 20 Jun 2021 15:53:22 +0200 Subject: vim: install treesitter plugin with grammars --- common/vim.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/vim.nix b/common/vim.nix index 83ac31b..613247e 100644 --- a/common/vim.nix +++ b/common/vim.nix @@ -3,7 +3,7 @@ inputs: { config, pkgs, lib, ... }: let - inherit (pkgs.unstable) vimPlugins wrapNeovim; + inherit (pkgs.unstable) vimPlugins wrapNeovim tree-sitter; luaFormat = inputs.self.lib.generators.lua { }; @@ -69,7 +69,7 @@ let telescope-nvim # Treesitter - nvim-treesitter + (nvim-treesitter.withPlugins (_: tree-sitter.allGrammars)) nvim-treesitter-textobjects nvim-treesitter-context -- cgit v1.2.3