This commit is contained in:
2025-06-24 13:37:26 -05:00
parent c057be801a
commit f27c288fb1

View File

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