mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 15:26:37 +03:00
chore: generated vimdoc
This commit is contained in:
parent
687c9e6c0b
commit
f3ebca37d6
@ -63,19 +63,26 @@ CONDITION ~
|
||||
<
|
||||
|
||||
|
||||
│ function │ Usage │
|
||||
│none() │always wrong │
|
||||
│done() │always correct │
|
||||
│before_text(text) │check character before │
|
||||
│after_text(text) │check character after │
|
||||
│before_regex(regex,length) │check character before with lua regex│
|
||||
│after_regex(regex,length) │check character after with lua regex │
|
||||
│not_before_text(text) │check character before │
|
||||
│not_after_text(text) │check character after │
|
||||
│not_before_regex(regex,length)│check character before with lua regex│
|
||||
│not_after_regex(regex,length) │check character after with lua regex │
|
||||
│not_inside_quote() │check is not inside a quote │
|
||||
│not_filetypes({table}) │check filetype is not inside table │
|
||||
│ function │ Usage │
|
||||
│none() │always wrong │
|
||||
│done() │always correct │
|
||||
│before_text(text) │check character before │
|
||||
│after_text(text) │check character after │
|
||||
│before_regex(regex,length│check character before with lua regex │
|
||||
│) │ │
|
||||
│after_regex(regex,length)│check character after with lua regex │
|
||||
│ │ │
|
||||
│not_before_text(text) │check character before │
|
||||
│not_after_text(text) │check character after │
|
||||
│not_before_regex(regex,le│check character before with lua regex │
|
||||
│ngth) │ │
|
||||
│not_after_regex(regex,len│check character after with lua regex │
|
||||
│gth) │ │
|
||||
│not_inside_quote() │check is not inside a quote │
|
||||
│is_inside_quote() │check is inside a quote │
|
||||
│not_filetypes({table}) │check filetype is not inside table │
|
||||
│is_bracket_in_quote() │check the next char is quote and cursor is insi│
|
||||
│ │de quote │
|
||||
|
||||
|
||||
|
||||
|
@ -29,14 +29,12 @@ DEFAULT VALUES *nvim-autopairs-default-values*
|
||||
local enable_moveright = true
|
||||
local enable_afterquote = true -- add bracket pairs after quote
|
||||
local enable_check_bracket_line = true --- check bracket in same line
|
||||
local enable_bracket_in_quote = true --
|
||||
local check_ts = false
|
||||
local map_cr = true
|
||||
local map_bs = true -- map the <BS> key
|
||||
local map_c_h = false -- Map the <C-h> key to delete a pair
|
||||
local map_c_w = false -- map <c-w> to delete a pair if possible
|
||||
|
||||
-- add bracket pairs inside quote even ignored_next_char contains quote
|
||||
local enable_bracket_in_quote = true,
|
||||
<
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user