fix: deno + ts_ls
This commit is contained in:
@@ -2,4 +2,5 @@ return {
|
|||||||
cmd = { 'deno', 'lsp' },
|
cmd = { 'deno', 'lsp' },
|
||||||
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" },
|
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" },
|
||||||
root_markers = { "deno.json", "deno.jsonc" },
|
root_markers = { "deno.json", "deno.jsonc" },
|
||||||
|
workspace_required = true,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
cmd = { 'typescript-language-server', '--stdio' },
|
cmd = { 'typescript-language-server', '--stdio' },
|
||||||
filetypes = { 'typescript', 'typescriptreact', 'typescript.tsx', 'javascript', 'javascriptreact', 'javascript.jsx', 'js', 'jsx', 'ts', 'tsx' },
|
filetypes = { 'typescript', 'typescriptreact', 'typescript.tsx', 'javascript', 'javascriptreact', 'javascript.jsx', 'js', 'jsx', 'ts', 'tsx' },
|
||||||
root_markers = { 'package.json', 'tsconfig.json', 'jsconfig.json', '.git' },
|
root_markers = { 'package.json', 'tsconfig.json', 'jsconfig.json' },
|
||||||
|
single_file_support = false,
|
||||||
|
workspace_required = true,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user