clean up
This commit is contained in:
parent
3a244429d5
commit
78cefbb297
14 changed files with 576 additions and 552 deletions
|
@ -5,19 +5,18 @@ vim.cmd [[ packadd completion-nvim ]]
|
|||
local html_snippet_capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
html_snippet_capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
||||
require'lspconfig'.html.setup {
|
||||
on_attach = lsp_on_attach,
|
||||
capabilities = html_snippet_capabilities,
|
||||
cmd = { "html-languageserver", "--stdio" };
|
||||
filetypes = { "html" };
|
||||
init_opitons = {
|
||||
configurationSection = { "html", "css", "javascript" };
|
||||
embeddedLanguages = {
|
||||
css = true,
|
||||
javascript = true,
|
||||
};
|
||||
};
|
||||
require "lspconfig".html.setup {
|
||||
on_attach = lsp_on_attach,
|
||||
capabilities = html_snippet_capabilities,
|
||||
cmd = {"html-languageserver", "--stdio"},
|
||||
filetypes = {"html"},
|
||||
init_opitons = {
|
||||
configurationSection = {"html", "css", "javascript"},
|
||||
embeddedLanguages = {
|
||||
css = true,
|
||||
javascript = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vim.g.completion_enable_snippet = 'UltiSnips'
|
||||
|
||||
vim.g.completion_enable_snippet = "UltiSnips"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue