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