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()
|
||||
end,
|
||||
},
|
||||
{ -- auto pair
|
||||
'windwp/nvim-autopairs',
|
||||
config = function()
|
||||
require('nvim-autopairs').setup {
|
||||
check_ts = true, -- use treesitter
|
||||
}
|
||||
end,
|
||||
event = "InsertEnter",
|
||||
},
|
||||
{ -- lualine(statusline)
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'kyazdani42/nvim-web-devicons', lazy = true }
|
||||
|
@ -309,13 +318,11 @@ lspconfig.lua_ls.setup {
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
-- Julia
|
||||
lspconfig.julials.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
|
||||
-- SATySFi
|
||||
lspconfig.satysfi_ls.setup {
|
||||
on_attach = on_attach,
|
||||
|
|
Loading…
Reference in a new issue