添加前端三件套语法高亮

This commit is contained in:
caprain 2026-05-18 00:34:49 +08:00
parent 8eacffaa83
commit 476e467710
4 changed files with 16 additions and 4 deletions

View file

@ -1,9 +1,18 @@
-- === LSP 核心配置 (Lspconfig + Mason) ===
if vim.g.vscode then return end
local servers = { "lua_ls", "rust_analyzer", "pylsp", "denols", }
local servers = {
"lua_ls",
"rust_analyzer",
"pylsp",
"vtsls", -- javascript
}
if not IS_ARM then
vim.list_extend(servers, { "marksman", "svelte", "cssls", "html" })
vim.list_extend(servers, {
"marksman",
"svelte",
"cssls",
"html" })
end
-- 插件配置清单