|
|
@ -12,6 +12,23 @@ lsp.setup_nvim_cmp({ |
|
|
|
-- (Optional) Configure lua language server for neovim |
|
|
|
lsp.nvim_workspace() |
|
|
|
|
|
|
|
local platform = require("mason-core.platform"); |
|
|
|
local servers = { |
|
|
|
'tailwindcss', |
|
|
|
'tsserver', |
|
|
|
'texlab', |
|
|
|
'pyright', |
|
|
|
'efm', |
|
|
|
'ltex', |
|
|
|
'jsonls' |
|
|
|
} |
|
|
|
|
|
|
|
if not (platform.is.linux_x64_musl or |
|
|
|
platform.is.linux_arm64_musl) |
|
|
|
then |
|
|
|
table.insert(servers, "sumneko_lua"); |
|
|
|
end |
|
|
|
|
|
|
|
lsp.ensure_installed({ |
|
|
|
'tailwindcss', |
|
|
|
'tsserver', |
|
|
|