1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00

plugins/mini-snippets: init

This commit is contained in:
Heitor Augusto 2025-11-02 02:18:01 -03:00 committed by Austin Horstman
parent e948015920
commit acbb512494
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, ... }:
{
empty = {
plugins.mini-snippets.enable = true;
};
defaults = {
plugins.mini-snippets = {
enable = true;
settings = {
snippets = lib.nixvim.emptyTable;
mappings = {
expand = "<C-j>";
jump_next = "<C-l>";
jump_prev = "<C-h>";
stop = "<C-c>";
};
expand = {
prepare = lib.nixvim.mkRaw "nil";
match = lib.nixvim.mkRaw "nil";
select = lib.nixvim.mkRaw "nil";
insert = lib.nixvim.mkRaw "nil";
};
};
};
};
}