on master help sign in
chore: generated vimdoc
commitf3ebca37d6ef1ff22d1f2c764a9e619d1fe5f3c7 authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> dateFri 25 Mar 2022, 03:09 (5 years ago) parent687c9e6
2 files changed+21−16
doc/nvim-autopairs-rules.txt+20−13 doc/nvim-autopairs.txt+1−3
doc/nvim-autopairs-rules.txt+20−13
@@ -63,19 +63,26 @@ CONDITION ~
6363<
6464
6565
66−│ function │ Usage │
67−│none() │always wrong │
68−│done() │always correct │
69−│before_text(text) │check character before │
70−│after_text(text) │check character after │
71−│before_regex(regex,length) │check character before with lua regex│
72−│after_regex(regex,length) │check character after with lua regex │
73−│not_before_text(text) │check character before │
74−│not_after_text(text) │check character after │
75−│not_before_regex(regex,length)│check character before with lua regex│
76−│not_after_regex(regex,length) │check character after with lua regex │
77−│not_inside_quote() │check is not inside a quote │
78−│not_filetypes({table}) │check filetype is not inside table │
66+│ function │ Usage │
67+│none() │always wrong │
68+│done() │always correct │
69+│before_text(text) │check character before │
70+│after_text(text) │check character after │
71+│before_regex(regex,length│check character before with lua regex │
72+│) │ │
73+│after_regex(regex,length)│check character after with lua regex │
74+│ │ │
75+│not_before_text(text) │check character before │
76+│not_after_text(text) │check character after │
77+│not_before_regex(regex,le│check character before with lua regex │
78+│ngth) │ │
79+│not_after_regex(regex,len│check character after with lua regex │
80+│gth) │ │
81+│not_inside_quote() │check is not inside a quote │
82+│is_inside_quote() │check is inside a quote │
83+│not_filetypes({table}) │check filetype is not inside table │
84+│is_bracket_in_quote() │check the next char is quote and cursor is insi│
85+│ │de quote │
7986
8087
8188
doc/nvim-autopairs.txt+1−3
@@ -29,14 +29,12 @@ DEFAULT VALUES *nvim-autopairs-default-values*
2929 local enable_moveright = true
3030 local enable_afterquote = true -- add bracket pairs after quote
3131 local enable_check_bracket_line = true --- check bracket in same line
32+ local enable_bracket_in_quote = true --
3233 local check_ts = false
3334 local map_cr = true
3435 local map_bs = true -- map the <BS> key
3536 local map_c_h = false -- Map the <C-h> key to delete a pair
3637 local map_c_w = false -- map <c-w> to delete a pair if possible
37−
38− -- add bracket pairs inside quote even ignored_next_char contains quote
39− local enable_bracket_in_quote = true,
4038<
4139
4240