mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-05 04:51:14 +00:00
14 lines
177 B
Nix
14 lines
177 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.snippets.vsnip;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim.startPlugins = ["vim-vsnip"];
|
|
};
|
|
}
|