add: nvim: add autopair
This commit is contained in:
parent
f30a4822b3
commit
b81618e0c8
1 changed files with 9 additions and 2 deletions
|
@ -22,6 +22,15 @@ require('lazy').setup({
|
||||||
require('Comment').setup()
|
require('Comment').setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{ -- auto pair
|
||||||
|
'windwp/nvim-autopairs',
|
||||||
|
config = function()
|
||||||
|
require('nvim-autopairs').setup {
|
||||||
|
check_ts = true, -- use treesitter
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
event = "InsertEnter",
|
||||||
|
},
|
||||||
{ -- lualine(statusline)
|
{ -- lualine(statusline)
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
dependencies = { 'kyazdani42/nvim-web-devicons', lazy = true }
|
dependencies = { 'kyazdani42/nvim-web-devicons', lazy = true }
|
||||||
|
@ -309,13 +318,11 @@ lspconfig.lua_ls.setup {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Julia
|
-- Julia
|
||||||
lspconfig.julials.setup {
|
lspconfig.julials.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- SATySFi
|
-- SATySFi
|
||||||
lspconfig.satysfi_ls.setup {
|
lspconfig.satysfi_ls.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
Loading…
Reference in a new issue