mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
plugins/nvim-autopairs: switch to mkNeovimPlugin
This commit is contained in:
parent
ffa3020522
commit
38a4fc7709
2 changed files with 229 additions and 103 deletions
|
@ -7,27 +7,49 @@
|
|||
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"];
|
||||
settings = {
|
||||
disable_filetype = ["TelescopePrompt" "spectre_panel"];
|
||||
disable_in_macro = false;
|
||||
disable_in_visualblock = false;
|
||||
disable_in_replace_mode = true;
|
||||
ignored_next_char = "[=[[%w%%%'%[%\"%.%`%$]]=]";
|
||||
enable_moveright = true;
|
||||
enable_afterquote = true;
|
||||
enable_check_bracket_line = true;
|
||||
enable_bracket_in_quote = true;
|
||||
enable_abbr = false;
|
||||
break_undo = true;
|
||||
check_ts = false;
|
||||
ts_config = {
|
||||
lua = [
|
||||
"string"
|
||||
"source"
|
||||
"string_content"
|
||||
];
|
||||
javascript = [
|
||||
"string"
|
||||
"template_string"
|
||||
];
|
||||
};
|
||||
map_cr = true;
|
||||
map_bs = true;
|
||||
map_c_h = false;
|
||||
map_c_w = false;
|
||||
fast_wrap = {
|
||||
map = "<M-e>";
|
||||
chars = ["{" "[" "(" "\"" "'"];
|
||||
pattern = ''[=[[%'%"%>%]%)%}%,%`]]=]'';
|
||||
end_key = "$";
|
||||
before_key = "h";
|
||||
after_key = "l";
|
||||
cursor_pos_before = true;
|
||||
keys = "qwertyuiopzxcvbnmasdfghjkl";
|
||||
highlight = "Search";
|
||||
highlight_grey = "Comment";
|
||||
manual_position = true;
|
||||
use_virt_lines = true;
|
||||
};
|
||||
};
|
||||
mapCr = true;
|
||||
mapBs = true;
|
||||
mapCH = false;
|
||||
mapCW = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue