nvim/lua/init-plugins.lua

16 lines
426 B
Lua
Raw Normal View History

2021-09-09 13:56:57 +00:00
-- nvim-autopairs
require('nvim-autopairs').setup{}
-- you need setup cmp first put this after cmp.setup()
2021-12-13 15:16:24 +00:00
require("cmp").setup({
map_cr = false, -- map <CR> on insert mode
map_complete = false, -- it will auto insert `(` after select function or method item
2021-09-09 13:56:57 +00:00
auto_select = true -- automatically select the first item
})
--nvim-ts-autotag
require'nvim-treesitter.configs'.setup {
autotag = {
enable = true,
}
}