Commit Graph

301 Commits

Author SHA1 Message Date
Munif Tanjim
34bd374f75 fix: move } inside multiline function's params 2022-08-11 08:44:43 +07:00
altermo
ca89ab9e7e
python triple single quotes pair (#256)
* added python ''' pair

* added python tripple singe quotes pair
2022-08-07 00:27:49 +07:00
Michael Budde
8f7f682caa Pass column and rule information to :with_del callback 2022-08-06 07:42:31 +07:00
zztrieuzz
cc8f7569cc fix #258 add enable_abbr 2022-08-01 16:52:22 +07:00
zztrieuzz
d374efb7ec style: fix lint of sumneko lua 2022-08-01 12:16:11 +07:00
Daniel Fortes
972a7977e7
Use commit_character from nvim-cmp event to avoid adding double parenthesis (#253)
* Pass "commit_character" from cmp event to handler

* Added commit_character check on '*' handler

So that when the commit_character is equal to the trigger character
`char` we just return. This avoid things like doulbe parenthesis being
added sometimes.

* Added `commit_character` to `lisp` handler
2022-07-06 09:28:20 +07:00
github-actions[bot]
4a95b3982b
chore: generated vimdoc (#241)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-18 20:11:25 +07:00
Pedro Castro
469ef47fc2
rewrite cmp.on_confirm_done (#244)
* feat: rewrite cmp_on_confirm_mode

* remove Kind variable

* update README

* add handlers

* fix typo

* remove rules
2022-06-18 08:58:25 +07:00
Zhong Liu
fa6876f832
FEAT: option for some people who want only one history in undo sequnce (#249)
* maybe some people don't like it break undo

* add doc for `break_undo` option
2022-06-15 05:28:10 +07:00
zztrieuzz
84cde3547e update README 2022-06-09 19:45:05 +07:00
Aymen
5dad9ad377
add installation instructions for vim-plug & Plug (#248)
* add installation instructions for vim-plug & Plug

* Add call plug#begin() and plug#end()

* Removing the comments

Removing the comment inside setup to avoid confusion
2022-06-08 13:06:14 +07:00
alohaia
b9cc0a26f3 docs: replace string.gsub with [=[...]=] string 2022-05-26 06:32:28 +07:00
XXiaoA
aea913109d docs 2022-05-04 14:13:25 +07:00
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