add autopairs and create bindings for jumping through params in snippets
This commit is contained in:
@@ -65,6 +65,8 @@ local on_attach = function(client, bufnr)
|
||||
--end, bufopts)
|
||||
end
|
||||
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
-- Configure each language
|
||||
-- How to add LSP for a specific language?
|
||||
-- 1. use `:Mason` to install corresponding LSP
|
||||
@@ -73,5 +75,6 @@ end
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user