dotfiles/nix/nvim/treesitter/treesitter.nix

25 lines
453 B
Nix

{
configs,
pkgs,
...
}: {
programs.nixvim = {
plugins.treesitter = {
enable = true;
folding = true;
indent = true;
nixvimInjections = true;
};
plugins.treesitter-context.enable = true;
plugins.indent-blankline.enable = true;
extraPlugins = [
pkgs.vimPlugins.treesj
];
extraConfigLua=''require("treesj").setup({})'';
};
imports = [
./rainbow-delimiters.nix
./arial.nix
];
}