From e1b0a35e04546333634c3ceb6ed84cb21ef90c38 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Tue, 4 Jan 2022 10:04:47 +0100 Subject: Initial commit --- lua/plugins/autopairs.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lua/plugins/autopairs.lua (limited to 'lua/plugins/autopairs.lua') 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 on insert mode + map_complete = true, -- it will auto insert `(` after select function or method item + auto_select = false, -- auto select first item +}) -- cgit v1.2.3