mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
treesitter: don't use packer
This commit is contained in:
parent
0116bf3f60
commit
3dceb67a34
2 changed files with 8 additions and 13 deletions
|
@ -75,16 +75,11 @@ in
|
|||
};
|
||||
in mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
plugins.packer = {
|
||||
enable = true;
|
||||
plugins = [{
|
||||
name = "nvim-treesitter/nvim-treesitter";
|
||||
run = ":TSUpdate";
|
||||
config = helpers.mkRaw ''function()
|
||||
require('nvim-treesitter.configs').setup(${helpers.toLuaObject tsOptions})
|
||||
end'';
|
||||
}];
|
||||
};
|
||||
extraConfigLua = ''
|
||||
require('nvim-treesitter.configs').setup(${helpers.toLuaObject tsOptions})
|
||||
'';
|
||||
|
||||
extraPlugins = [ pkgs.vimPlugins.nvim-treesitter ];
|
||||
extraPackages = [ pkgs.tree-sitter pkgs.nodejs ];
|
||||
|
||||
options = mkIf cfg.folding {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue