mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-23 22:19:49 +01:00
13 lines
177 B
Nix
13 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"];
|
|
};
|
|
}
|