diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-04 10:04:47 +0100 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-04 10:04:47 +0100 |
| commit | e1b0a35e04546333634c3ceb6ed84cb21ef90c38 (patch) | |
| tree | 573ddfa23750192cbc95ac0f7eeaea262ecca14c /lua/plugins/autopairs.lua | |
| parent | 0a1fd3601928a82135822829641a109cb5948a8c (diff) | |
Initial commit
Diffstat (limited to 'lua/plugins/autopairs.lua')
| -rw-r--r-- | lua/plugins/autopairs.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/plugins/autopairs.lua b/lua/plugins/autopairs.lua new file mode 100644 index 0000000..e1aa126 --- /dev/null +++ b/lua/plugins/autopairs.lua @@ -0,0 +1,7 @@ +require('nvim-autopairs').setup{} + +require("nvim-autopairs.completion.compe").setup({ + map_cr = true, -- map <CR> on insert mode + map_complete = true, -- it will auto insert `(` after select function or method item + auto_select = false, -- auto select first item +}) |
