updates
This commit is contained in:
@@ -73,6 +73,7 @@ return {
|
|||||||
|
|
||||||
-- used to enable autocompletion (assign to every lsp server config)
|
-- used to enable autocompletion (assign to every lsp server config)
|
||||||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||||
|
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
|
|
||||||
-- Change the Diagnostic symbols in the sign column (gutter)
|
-- Change the Diagnostic symbols in the sign column (gutter)
|
||||||
-- (not in youtube nvim video)
|
-- (not in youtube nvim video)
|
||||||
@@ -82,8 +83,9 @@ return {
|
|||||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
|
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.lsp.config.emmet_ls = {
|
lspconfig.emmet_ls.setup({
|
||||||
on_attach = on_attach,
|
-- vim.lsp.config.emmet_ls = {
|
||||||
|
-- on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
filetypes = {
|
filetypes = {
|
||||||
"html",
|
"html",
|
||||||
@@ -97,7 +99,7 @@ return {
|
|||||||
"svelte",
|
"svelte",
|
||||||
"php",
|
"php",
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
-- return {
|
-- return {
|
||||||
|
|||||||
Reference in New Issue
Block a user