mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-30 12:34:37 +02:00
fix(lsp): fix ts/deno both attaching
This commit is contained in:
parent
fba06ce9f5
commit
f6bcf6f12c
2 changed files with 7 additions and 2 deletions
|
@ -179,6 +179,11 @@ function M.get_config(server)
|
|||
return rawget(configs, server)
|
||||
end
|
||||
|
||||
function M.is_enabled(server)
|
||||
local c = M.get_config(server)
|
||||
return c and c.enabled ~= false
|
||||
end
|
||||
|
||||
---@param server string
|
||||
---@param cond fun( root_dir, config): boolean
|
||||
function M.disable(server, cond)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue