21 lines
527 B
Nix
21 lines
527 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (config.modules.other.system) username;
|
|
in {
|
|
home-manager.${username}.
|
|
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
|
|
];
|
|
};
|
|
};
|
|
}
|