Commit Graph

317 Commits

Author SHA1 Message Date
zztrieuzz
9fa9961230 update README 2022-12-07 09:11:05 +07:00
windwp
99f6963392 fix #295 2022-11-28 20:59:22 +07:00
Arthaud Awen
5d75276fce
Change: special case for a match at the end of the line during fastwrap (#296) 2022-11-24 07:12:46 +07:00
zztrieuzz
ccbf4098e8 fix: add ` and $ on ignored next characters
fix #285
2022-11-24 06:47:34 +07:00
zztrieuzz
6b6e35fc9a fix replace mode 2022-10-27 17:46:11 +07:00
Tomasz N
4fc96c8f3d
Check if item.data is a table (#270)
* Check if item.data is a table

to prevent an error message if it's a number

* fixup! Check if item.data is a table

Co-authored-by: __ <__@__>
2022-10-02 03:50:58 +07:00
zztrieuzz
14cc2a4fc6 update README.md 2022-09-17 11:54:27 +07:00
zztrieuzz
a5b27c51de update docs fix #281 fix #280 2022-09-17 11:46:48 +07:00
Andy Zhang
5fe24419e7
Fix empty rules when bufnr is 0 (#279) 2022-09-09 05:26:34 +07:00
zztrieuzz
0a18e10a0c fix #271 2022-08-19 08:56:35 +07:00
zztrieuzz
a7a8be3d2f chore: fix lint by sumneko 2022-08-16 08:14:47 +07:00
zztrieuzz
bd1bcb4dde fix: python multiple quote 2022-08-16 08:14:47 +07:00
zztrieuzz
6ba1868a66 fix: use callback on autoccommand 2022-08-16 08:14:47 +07:00
zztrieuzz
9fd28f61d6 fix: use lua augroup and autocmd 2022-08-16 08:14:47 +07:00
zztrieuzz
d64acdd0c9 fix #263 delete key mapping by autopairs 2022-08-16 08:14:47 +07:00
aileot
b7672cd49e
fix: reduce unexpected end_pair_func and calculation
* fix(cr): set `end_pair` only if conditions are filled

Otherwise, `end_pair_func`s which are not for `autopairs_cr` would get
executed in unexpected occasions.

* refactor(map): replace `'%s'`s with `%q`

* fix(map): reject rules whose `key_map` are unequal to `char`

* refactor(map): check easier condition earlier

* refactor(map): unify format of similar expressions

* perf(map): reduce unnecessary calculation
2022-08-16 07:40:29 +07:00
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