2021-06-21 19:57:46 -05:00
|
|
|
require'lspconfig'.tsserver.setup{
|
|
|
|
|
cmd = {DATA_PATH .. "/lspinstall/typescript/node_modules/.bin/typescript-language-server", "--stdio"},
|
|
|
|
|
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" },
|
|
|
|
|
root_dir = require('lspconfig/util').root_pattern("package.json", "tsconfig.json", "jsconfig.json", ".git")
|
|
|
|
|
}
|
2021-03-31 22:39:21 -04:00
|
|
|
|