Commit Graph

228 Commits

Author SHA1 Message Date
zztrieuzz
9af1c4ab03 Merge branch 'master' of github.com:windwp/nvim-autopairs 2021-09-15 20:03:21 +07:00
windwp
8cf7f23116 feat: disable autopair on blockwise mode insert
fix #135
fix endwise_spec
2021-09-15 19:59:41 +07:00
sk
9a3770dccf
fix(cmp): initialize table when opt is nil (#134) 2021-09-14 22:00:16 +07:00
windwp
9d76310855 fix(cmp): add wrap with vim.defer 2021-09-14 06:52:23 +07:00
windwp
c8a42b03e8 fix: change to check ts_node only.
function `is_endwise_node` is not correct.I really want to
check if that node already have a close tag then it will not add an
endwise pairs but seem it is not possible right now.
Because tree-sitter will group a wrong node when it have wrong
syntax(missing end wise pair).
2021-09-14 06:43:46 +07:00
JezerM
1d6387a614 Added map_char option to modify map_complete auto-insertion 2021-09-14 05:36:44 +07:00
Micke Lisinge
cae3332e5a Add support for elixir 2021-09-14 05:14:36 +07:00
windwp
c80b4ac3fa add: ISSUE_TEMPLATE 2021-09-11 08:31:37 +07:00
windwp
5f8c0b6fdd
Merge pull request #130 from ten3roberts/master
Add fastwrap offset ( Fix #128 )
2021-09-11 07:11:52 +07:00
Tim Roberts
cd4c08c060 Add fastwrap offset ( Fix #128 ) 2021-09-10 22:39:53 +02:00
windwp
aa425e0813 fix: condition not inside quote 2021-09-09 20:53:52 +07:00
windwp
19af99011a refactor: test file with setup_func 2021-09-09 10:35:38 +07:00
windwp
f0822ddc38 feat: support multi byte character
fix #126
2021-09-08 10:56:09 +07:00
windwp
b9bb171325 fix: disable update rules on floating window.
fix #107 fix #121
2021-09-04 20:18:12 +07:00
windwp
8197c69a55 fix #118
It seem to be a problem of nvim-treesitter. It need to indent 2 times to
make indent working
2021-09-02 07:29:38 +07:00
windwp
08c20d972c
Merge pull request #120 from ourigen/rmd-backticks
Apply triple backticks rule to `rmd` filetypes
2021-09-01 06:00:50 +07:00
ourigen
cd97772f88
Apply triple backticks rule to rmd filetypes 2021-08-31 16:41:22 +00:00
windwp
f13e9ce7a4
Merge pull request #119 from jolars/master
Handle triple backticks for pandoc and rmarkdown
2021-08-31 18:00:14 +07:00
Johan Larsson
e05c3966e0 Handle triple backticks for pandoc and rmarkdown
Properly pair up triple backticks ``` when filetype is rmarkdown or
pandoc, similar to #41.
2021-08-31 11:57:34 +02:00
windwp
e717abbc1e
fix #116 2021-08-30 22:04:38 +07:00
windwp
0ec2d9baa1 Merge branch 'master' of github.com:windwp/nvim-autopairs 2021-08-30 09:25:39 +07:00
windwp
1b7391225c Fix #115 2021-08-30 09:25:23 +07:00
windwp
70ed2702c9
Merge pull request #113 from zeertzjq/disable-bs
allow disabling bs mapping & add coq config example
2021-08-28 09:56:39 +07:00
windwp
7bd73161a6 fix #112 2021-08-28 07:14:39 +07:00
zeertzjq
59a22537e6 allow disabling bs mapping & add coq config example 2021-08-28 08:02:47 +08:00
windwp
2fa1f773bd add style.toml 2021-08-27 06:32:25 +07:00
windwp
99884cbf3d
Merge pull request #106 from megalithic/feat/master/pass-in-nvim-cmp-mapping-setup
Supports passing in nvim-cmp's mapping config for finer control
2021-08-27 06:30:57 +07:00
windwp
9150bffb33 Merge branch 'master' into feat/master/pass-in-nvim-cmp-mapping-setup 2021-08-27 06:30:11 +07:00
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