| 1 | return { |
| 2 | cmd = { |
| 3 | "vtsls", "--stdio" |
| 4 | }, |
| 5 | filetypes = { |
| 6 | 'javascript', |
| 7 | 'javascriptreact', |
| 8 | 'javascript.jsx', |
| 9 | 'typescript', |
| 10 | 'typescriptreact', |
| 11 | 'typescript.tsx', |
| 12 | }, |
| 13 | root_markers = { |
| 14 | 'tsconfig.json', 'jsconfig.json', 'package.json', '.git' }, |
| 15 | -- settings = { |
| 16 | -- Lua = { |
| 17 | -- diagnostics = { |
| 18 | -- -- disable = { "missing-parameters", "missing-fields" }, |
| 19 | -- }, |
| 20 | -- }, |
| 21 | -- }, |
| 22 | |
| 23 | single_file_support = true, |
| 24 | log_level = vim.lsp.protocol.MessageType.Warning, |
| 25 | } |