neovim-flake/modules/snippets/vsnip/config.nix
2023-03-31 05:20:35 +03:00

13 lines
171 B
Nix

{
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.snippets.vsnip;
in {
config = mkIf cfg.enable {
vim.startPlugins = ["vim-vsnip"];
};
}