nichts/modules/editors/nvf/plugins/settings/treesitter.nix

15 lines
426 B
Nix
Raw Normal View History

2024-07-06 15:15:37 +02:00
{pkgs, ...}: {
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
];
};
};
}