fix(vim): start ts_lsp in monorepo
When you are in a monorepo you don't always have a tsconfig in the root. You do however have a yarn.lock. This will now start ts_ls when it finds a yarn.lock in the root of the repo.
This commit is contained in:
parent
dc23131046
commit
4530bdfb56
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ local servers = {
|
||||||
-- Language servers for the day to day web development, could probably think
|
-- Language servers for the day to day web development, could probably think
|
||||||
-- about loosing the html and css one and living with typescript, rescript
|
-- about loosing the html and css one and living with typescript, rescript
|
||||||
-- and emmet
|
-- and emmet
|
||||||
ts_ls = { enabled = has_file "tsconfig.json" },
|
ts_ls = { enabled = has_file "tsconfig.json" or has_file "yarn.lock" },
|
||||||
denols = { enabled = has_file "deno.json" or has_file "deno.jsonc" },
|
denols = { enabled = has_file "deno.json" or has_file "deno.jsonc" },
|
||||||
html = {},
|
html = {},
|
||||||
cssls = {},
|
cssls = {},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue