add: nvim: add autopair

This commit is contained in:
qwjyh 2023-03-13 21:36:59 +09:00
parent f30a4822b3
commit b81618e0c8

View file

@ -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,