diff options
author | hui.liu <[email protected]> | 2021-08-30 20:48:17 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-30 08:48:17 -0400 |
commit | bc5b315e534ac4c15af50edc5890fe328b8825d3 (patch) | |
tree | a8174f231dd9b1d1a27cd16e062d9474d378297e /lua/lsp/init.lua | |
parent | 1ac46d79b9a2354df71f681c1d467f144de5cbfc (diff) |
Setup tailwindcss language server (#1376)
Diffstat (limited to 'lua/lsp/init.lua')
-rw-r--r-- | lua/lsp/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index 1e1ff22e..b43bd419 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -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 |