mirror of
https://github.com/cap153/nvim.git
synced 2026-07-16 22:16:54 +08:00
添加前端三件套语法高亮
This commit is contained in:
parent
8eacffaa83
commit
476e467710
4 changed files with 16 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
-- 插件配置清单
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue