nichts/modules/editors/nvf/plugins/settings/treesitter.nix
2024-07-06 17:14:45 +02:00

20 lines
499 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.modules.other.system) username;
in {
programs.neovim-flake.settings.vim = {
treesitter = {
fold = true;
context.enable = false; # FIXME: currently broken, I do not know why.
# extra grammars that will be installed by Nix
grammars = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
regex # for regexplainer
kdl # zellij configurations are in KDL, I want syntax highlighting
];
};
};
}