dotfiles/nix/nvim/treesitter/treesitter.nix

25 lines
461 B
Nix
Raw Normal View History

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