mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
73 lines
1.4 KiB
Nix
73 lines
1.4 KiB
Nix
{
|
|
empty = {
|
|
plugins.autoclose.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
plugins.autoclose.enable = true;
|
|
plugins.autoclose = {
|
|
keys = {
|
|
"(" = {
|
|
escape = false;
|
|
close = true;
|
|
pair = "()";
|
|
};
|
|
"[" = {
|
|
escape = false;
|
|
close = true;
|
|
pair = "[]";
|
|
};
|
|
"{" = {
|
|
escape = false;
|
|
close = true;
|
|
pair = "{}";
|
|
};
|
|
|
|
">" = {
|
|
escape = true;
|
|
close = false;
|
|
pair = "<>";
|
|
};
|
|
")" = {
|
|
escape = true;
|
|
close = false;
|
|
pair = "()";
|
|
};
|
|
"]" = {
|
|
escape = true;
|
|
close = false;
|
|
pair = "[]";
|
|
};
|
|
"}" = {
|
|
escape = true;
|
|
close = false;
|
|
pair = "{}";
|
|
};
|
|
"\"" = {
|
|
escape = true;
|
|
close = true;
|
|
pair = ''""'';
|
|
};
|
|
"'" = {
|
|
escape = true;
|
|
close = true;
|
|
pair = "''";
|
|
};
|
|
"`" = {
|
|
escape = true;
|
|
close = true;
|
|
pair = "``";
|
|
};
|
|
};
|
|
|
|
options = {
|
|
disabledFiletypes = [ "text" ];
|
|
disableWhenTouch = false;
|
|
touchRegex = "[%w(%[{]";
|
|
pairSpaces = false;
|
|
autoIndent = true;
|
|
disableCommandMode = false;
|
|
};
|
|
};
|
|
};
|
|
}
|