(nvim) nvim v0.12 migration

This commit is contained in:
juancwu 2026-04-13 00:30:14 +00:00
commit 7b2eb8c525
51 changed files with 1629 additions and 1627 deletions

16
nvim/lsp/html.lua Normal file
View file

@ -0,0 +1,16 @@
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
---@type vim.lsp.Config
return {
cmd = { "vscode-html-language-server", "--stdio" },
filetypes = { "html", "templ" },
root_markers = { "package.json", ".git" },
capabilities = capabilities,
init_options = {
provideFormatter = true,
embeddedLanguages = { css = true, javascript = true },
configurationSection = { "html", "css", "javascript" },
},
settings = {},
}