Setup tailwindcss language server (#1376)

This commit is contained in:
hui.liu 2021-08-30 20:48:17 +08:00 committed by GitHub
parent 1ac46d79b9
commit bc5b315e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 10 deletions

View file

@ -125,7 +125,7 @@ end
function M.setup(lang)
local lsp_utils = require "lsp.utils"
local lsp = lvim.lang[lang].lsp
if lsp_utils.is_client_active(lsp.provider) then
if (lsp.active ~= nil and not lsp.active) or lsp_utils.is_client_active(lsp.provider) then
return
end