Something went wrong. Try again.
A nix-first approach to my computing
Something went wrong. Try again.
123456789101112131415161718192021return { cmd = function(dispatchers, config) local cmd = 'tsgo' if (config or {}).root_dir then local local_cmd = vim.fs.joinpath(config.root_dir, 'node_modules/.bin', cmd) if vim.fn.executable(local_cmd) == 1 then cmd = local_cmd end end return vim.lsp.rpc.start({ cmd, '--lsp', '--stdio' }, dispatchers) end, filetypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', }, root_markers = { 'pnpm-workspace.yaml' },}