rust-tools
This commit is contained in:
parent
a45cace9f2
commit
b765de7e3f
3 changed files with 34 additions and 12 deletions
|
|
@ -1,15 +1,13 @@
|
|||
-- nvim-autopairs
|
||||
require('nvim-autopairs').setup{}
|
||||
require('nvim-autopairs').setup {}
|
||||
-- you need setup cmp first put this after cmp.setup()
|
||||
require("cmp").setup({
|
||||
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
|
||||
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
|
||||
})
|
||||
------
|
||||
|
||||
--nvim-ts-autotag
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
autotag = {
|
||||
enable = true,
|
||||
}
|
||||
}
|
||||
-- nvim-ts-autotag
|
||||
require'nvim-treesitter.configs'.setup {autotag = {enable = true}}
|
||||
------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue