Commit Graph

288 Commits

Author SHA1 Message Date
zztrieuzz
4c70ccf786 fix ci 2022-05-04 07:54:27 +07:00
zztrieuzz
e8e5287f22 update ci 2022-05-03 09:06:07 +07:00
zztrieuzz
62519f7573 fix #238 2022-04-29 05:37:58 +07:00
Pedro Castro
63779ea99e feat(ts): add is_in_range function 2022-04-29 05:20:22 +07:00
Yarden Sod-Moriah
3d7b552eb4 Reuse cond_opt in autopairs_cr 2022-04-23 18:11:57 +07:00
Yarden Sod-Moriah
0ebfef16ec Use replace_endpair when expanding with endwise 2022-04-23 18:11:57 +07:00
ecosse3
e9b47f0f68 fix: use vim.treesitter.query instead of deprecated nvim-treesitter.ts_query 2022-04-22 06:10:23 +07:00
Dan Sully
38d486a1c4 Remove deprecated setup() function.
The existence of this causes sumneko_lua to think that the call to `cmp.setup()` requires 0 arguments.

Additionally, it allows for going to the correct definition, instead of the one defined in `nvim-autopairs.completion.cmp`.
2022-04-14 06:44:22 +07:00
github-actions[bot]
6fb0479704 chore: generated vimdoc 2022-04-12 09:12:21 +07:00
zztrieuzz
8faf72bafe fix(fastwrap): remove offset on config 2022-04-12 07:54:53 +07:00
zztrieuzz
fc2a145242 fix(fastwrap): offset change on end line. 2022-04-11 17:47:33 +07:00
zztrieuzz
06535b1f1a improves fastwrap on space 2022-04-02 14:10:43 +07:00
github-actions[bot]
f3ebca37d6 chore: generated vimdoc 2022-03-25 10:44:21 +07:00
zztrieuzz
687c9e6c0b update README 2022-03-25 08:32:47 +07:00
zztrieuzz
96a0dde0aa update FUNDING 2022-03-25 08:16:59 +07:00
github-actions[bot]
c842fea835 chore: generated vimdoc 2022-03-24 15:44:30 +07:00
zztrieuzz
d6169b2392 fix: allow add bracket inside quote 2022-03-24 15:43:05 +07:00
ObserverOfTime
6617498bea Enable triple quote in kotlin 2022-03-15 11:18:43 +07:00
zztrieuzz
d2cde7c580 fix: completion text not allow character $ 2022-03-06 19:32:57 +07:00
zztrieuzz
94d42cd1af Revert "Don't attempt to auto pair on completion, if the completion is a"
This reverts commit 4fc3c19d1c.
2022-03-06 19:29:03 +07:00
github-actions[bot]
7bc61885cc chore: generated vimdoc 2022-03-04 15:18:25 +07:00
windwp
411a18df9f
Merge pull request #217 from fmoda3/fix-insert-text-snippet
Prevent auto-pairing on completion, when completion item is a Snippet
2022-03-04 15:17:26 +07:00
Frank Moda
4fc3c19d1c Don't attempt to auto pair on completion, if the completion is a
snippet
2022-03-03 22:52:49 -05:00
zztrieuzz
771fda8d16 fix #208 2022-03-02 10:57:32 +07:00
zztrieuzz
994b78fd85 fix #215 2022-03-01 21:15:58 +07:00
zztrieuzz
784398a8f1 fix endwise spec 2022-02-14 14:46:11 +07:00
windwp
9dec9ac805
Merge pull request #211 from dmbfm/master
Fixed double parentheses bug when using nvim-cmp
2022-02-14 11:23:30 +07:00
Daniel Fortes
d0a38d6278 cmp: moved commit character check 2022-02-13 23:12:05 -03:00
Thiago Bellini Ribeiro
64c2656664 Don't add () when autocompleting import of functions
Fix #206
2022-02-13 02:49:02 +07:00
Daniel Fortes
69d35ff2cf cmp: Fixed double parentheses bug
When commiting a function completion using the '(' character in cmp you
end up with two pairs of parentheses instead of one.

nvim-cmp has just merged a PR that sends the `commit_character` via the
`confirm_done` event.

This commit uses this information to avoid adding a second pair of
parentheses when the user has alredy typed one.
2022-02-11 09:57:56 -03:00
zztrieuzz
150eac2b6d fix: test utils 2022-02-11 07:40:52 +07:00
Pedro Castro
2465eb6e5e support rescript-jsx 2022-02-10 15:54:46 +07:00
Queensferry
97e454ce9b fix: do not trigger InsertLeave when <CR> 2022-01-14 20:35:18 +07:00
zztrieuzz
c027bbb7eb fix #204 2022-01-12 11:28:39 +07:00
lu5je0
5348e4a778 fix(cmp): issue(#202) 2022-01-08 13:18:56 +07:00
zeertzjq
96858723f1 fix: use 0 instead of nil for current buffer
Ref <https://github.com/neovim/neovim/pull/16745>
2022-01-04 09:43:54 +07:00
zztrieuzz
3909fc7912 fix: treesitter_spec 2021-12-26 15:19:02 +07:00
zztrieuzz
a9b6b98de3 fix: ts-conds remove check ts-node 2021-12-26 15:03:58 +07:00
zztrieuzz
e90e12c789 fix tests 2021-12-23 06:02:20 +07:00
zztrieuzz
38f08137d4 fix: change the order of double quote rule
make the rule " for all file first then user can modify it
2021-12-23 05:58:05 +07:00
github-actions[bot]
94a4fa4b9f chore: generated vimdoc 2021-12-19 05:36:47 +07:00
Jakub Kaczor
4406e94ba6 Feat: Add the option mapping <C-h> to deleting a pair 2021-12-19 05:33:46 +07:00
zztrieuzz
04cd1779f8 refactor: reuse test test_utils 2021-12-11 09:49:09 +07:00
windwp
8b932b6180
Merge pull request #188 from windwp/bot/vimdoc/master
chore: generated vimdoc
2021-12-08 21:07:30 +07:00
github-actions[bot]
5a857322aa chore: generated vimdoc 2021-12-08 14:01:23 +00:00
zztrieuzz
4f8f8778f1 ci: rules api docs from wiki 2021-12-08 21:00:38 +07:00
zztrieuzz
f104b9bf84 refactor: remove "check" on condition name 2021-12-08 19:59:52 +07:00
github-actions[bot]
18fe311bb9 chore: generated vimdoc 2021-12-02 19:17:06 +07:00
zztrieuzz
5da0994f6c feat: disable insert pairs after visual block mode 2021-12-02 15:45:53 +07:00
github-actions[bot]
fba2503bd8 chore: generated vimdoc 2021-11-22 04:53:24 +07:00