mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
35 lines
855 B
Nix
35 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;
|
|
};
|
|
};
|
|
}
|