mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
36 lines
855 B
Nix
36 lines
855 B
Nix
|
{
|
||
|
# Empty configuration
|
||
|
empty = {
|
||
|
plugins.nvim-autopairs.enable = true;
|
||
|
};
|
||
|
|
||
|
# All the upstream default options of trouble
|
||
|
defaults = {
|
||
|
plugins.nvim-autopairs = {
|
||
|
enable = true;
|
||
|
|
||
|
pairs = null;
|
||
|
disabledFiletypes = ["TelescopePrompt" "spectre_panel"];
|
||
|
disableInMacro = false;
|
||
|
disableInVisualblock = false;
|
||
|
disableInReplaceMode = true;
|
||
|
ignoredNextChar = "[=[[%w%%%'%[%\"%.%`%$]]=]";
|
||
|
enableMoveright = true;
|
||
|
enableAfterQuote = true;
|
||
|
enableCheckBracketLine = true;
|
||
|
enableBracketInQuote = true;
|
||
|
enableAbbr = false;
|
||
|
breakUndo = true;
|
||
|
checkTs = false;
|
||
|
tsConfig = {
|
||
|
lua = ["string" "source"];
|
||
|
javascript = ["string" "template_string"];
|
||
|
};
|
||
|
mapCr = true;
|
||
|
mapBs = true;
|
||
|
mapCH = false;
|
||
|
mapCW = false;
|
||
|
};
|
||
|
};
|
||
|
}
|