initial
This commit is contained in:
16
config/snippets/default.nix
Normal file
16
config/snippets/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./luasnip.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
snippets.enable = lib.mkEnableOption "Enable snippets module";
|
||||
};
|
||||
config = lib.mkIf config.snippets.enable {
|
||||
luasnip.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user