Commit Graph

250 Commits

Author SHA1 Message Date
windwp
a4429a7b08 fix: default line text #99 2021-08-27 06:02:42 +07:00
windwp
d6478b4ad1 fix #110 2021-08-27 05:54:24 +07:00
Seth Messer
1ee5bc52e7 adds note about cmp auto_select in readme 2021-08-24 20:27:51 -05:00
Seth Messer
59ceded4dc Simplifies overriding behaviour with just passing in auto_select 2021-08-24 20:25:42 -05:00
Seth Messer
d9ef53d0e4 Supports passing in nvim-cmp's mapping config for finer control
- since this just recalls cmp setup with a default `<CR>` mapping, it'd
  be much better to be able to pass in the specific mapping config
  options you might want.
  * for instance, i prefer to have `select = false`
2021-08-17 11:28:27 -05:00
windwp
afd3b224a0 update cmp mapping 2021-08-14 15:28:24 +07:00
windwp
b3d5d29163 fix #102
- fix mapping multiple rule same pair on keymap
- fix sort rule order
2021-08-14 06:36:45 +07:00
windwp
4a3d9426fd fix #103 2021-08-13 21:17:07 +07:00
windwp
10597ab695 fix: nvim-cmp mapping 2021-08-13 07:46:59 +07:00
windwp
a85b80b47b feat: add nvim-cmp completion 2021-08-12 18:55:19 +07:00
windwp
d71b3f6060 fix #100 2021-08-11 16:50:55 +07:00
windwp
13820ff0af fix re attach to check another rule with same key 2021-08-09 14:25:47 +07:00
windwp
af55aaf7e9 fix: remove rule with key mapping on first buffer 2021-08-09 12:34:25 +07:00
windwp
7c6b786894
Update README.md 2021-08-09 05:17:47 +07:00
windwp
f561472efb Feature: add set end pair length
It help to determine the length of end_pair string when it have a special
key like <left> <right> and it can help to move cursor to a middle
of end pair
2021-08-08 10:29:28 +07:00
TANIGUCHI Masaya
50fec950de Replace exclude_filetypes by not_filetypes 2021-08-07 15:14:10 +07:00
TANIGUCHI Masaya
14bad1f3cd Add exclude_filetypes 2021-08-07 15:14:10 +07:00
windwp
055e3f6c5f Fix #94 add auto_select option for compe 2021-08-06 16:05:59 +07:00
Yash
8b937f612e Fix: Syntax in readme.md 2021-08-02 11:33:55 +07:00
windwp
775e143b78 fix #92 2021-08-02 11:01:46 +07:00
windwp
ad40d49f45 fix: pair on afterquote 2021-07-29 19:31:23 +07:00
windwp
1df216ef70 fix: afterquote quote with out any text 2021-07-28 15:20:41 +07:00
windwp
e3e105b11a fix: is_end_line function 2021-07-24 07:16:46 +07:00
windwp
5a86b4f83c fix: ci 2021-07-23 17:48:53 +07:00
windwp
92b045dd1f fix: make column value work on another condition
add endwise is_end_line function
2021-07-23 16:35:43 +07:00
windwp
b0bbe8d908 fix: afterquote
It will better it is automatic add pair for quote when only have quote
in line some kind of noisy because we can remove map pair easy
2021-07-19 11:15:46 +07:00
windwp
e599e15f94 docs: move docs to wiki 2021-07-14 20:40:07 +07:00
Khoa Nguyen
a41d8ae369 Add endwise rule for Ruby
I wrote some endwise rules for Ruby. It's not perfect and it's just based on my daily usage, but I think this one can be a good start.
There's one case I cannot manage to do is if things like `if condition` is at the beginning of a line, it won't have endwise, because it conflicts with inline `if condition`. I have to choose one. I appreciate if you guys have any advice on this
2021-07-14 09:31:10 +07:00
Khoa Nguyen
c1c7770844 Autopairs if completion item is not selected
In case pumvisible is true, and there is no item selected, I think we should map <CR> to `npairs.autopairs_cr()` instead of esc
Before:
2021-07-14 07:28:44 +07:00
windwp
6b10db9b39 update README fix #77 2021-07-11 07:37:24 +07:00
windwp
b64fa0d85e fix(compe): check text from snippet #71 2021-06-29 08:56:55 +07:00
windwp
9ea88699ba fix(compe): check next_char 2021-06-27 20:14:39 +07:00
windwp
c664290e38 fix(compe): check next_char on 2021-06-27 20:11:03 +07:00
windwp
34ba10e983 fix(compe): check previous char is round bracket 2021-06-27 18:28:33 +07:00
windwp
6196445dcf Update README 2021-06-27 18:04:09 +07:00
windwp
43020b163b feat: add compe auto insert pairs 2021-06-27 13:08:53 +07:00
windwp
c0361cd6e3 fix fastwap change to insertmode 2021-06-27 13:07:46 +07:00
Samantha-uk
3069e5a6ce Update README.md
Correct typo in Treesitter example
2021-06-26 16:25:53 +07:00
windwp
80cbf90b2e feat: fast_wrap hightlight config 2021-06-25 18:21:39 +07:00
windwp
7ff2f721cd add fast_wrap 2021-06-25 11:51:34 +07:00
windwp
86050e29dc test fastwrap not finish 2021-06-25 11:51:34 +07:00
windwp
4b218c4e38
Update README.md 2021-06-19 18:19:21 +07:00
windwp
36e085cd9c Update README 2021-06-19 18:17:00 +07:00
windwp
5176c14793 Update README 2021-06-19 18:16:24 +07:00
windwp
5a5c14e492
Update README.md 2021-06-16 07:40:15 +07:00
windwp
307d74726b
Update README.md 2021-06-16 07:39:19 +07:00
3nuc
6b533c5ce8 Update README.md 2021-06-15 17:28:55 +07:00
3nuc
5042a889f0 Update README.md 2021-06-15 17:28:55 +07:00
windwp
dfe1242dcf
Update README.md 2021-06-15 05:37:24 +07:00
windwp
0e89f0667d
Update README.md 2021-06-15 05:36:22 +07:00