nvim+fish

This commit is contained in:
Nikos Papadakis 2024-06-25 09:04:27 +03:00
parent 40d5d02b59
commit 8833985b71
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02
2 changed files with 10 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -151,7 +151,14 @@ local servers = {
}, },
gleam = {}, gleam = {},
tsserver = { tsserver = {
root_dir = lspconfig.util.root_pattern("package.json"), root_dir = function(filename, _)
local deno = lspconfig.util.root_pattern("deno.json", "deno.jsonc")(filename)
if deno then
return nil
end
return lspconfig.util.root_pattern("package.json")(filename)
end,
single_file_support = false, single_file_support = false,
}, },
denols = { denols = {