diff --git a/site-modules/core/files/vim/plugin/lsp.lua b/site-modules/core/files/vim/plugin/lsp.lua index 1186e3f..f6dce44 100644 --- a/site-modules/core/files/vim/plugin/lsp.lua +++ b/site-modules/core/files/vim/plugin/lsp.lua @@ -11,7 +11,7 @@ local servers = { -- Language servers for the day to day web development, could probably think -- about loosing the html and css one and living with typescript, rescript -- 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" }, html = {}, cssls = {},