diff options
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 +}) |
