diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-08-08 21:33:43 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-08-08 21:33:43 +0000 |
| commit | 452ee91ed9717c257aecf9c24505d25f09b4dab1 (patch) | |
| tree | 21b91ed96cee66f5844be2397d0efa66ecd1686a | |
| parent | feat: tsgo #3989 (diff) | |
| download | nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.tar nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.tar.gz nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.tar.bz2 nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.tar.lz nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.tar.xz nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.tar.zst nvim-lspconfig-452ee91ed9717c257aecf9c24505d25f09b4dab1.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 30 | ||||
| -rw-r--r-- | doc/configs.txt | 22 |
2 files changed, 52 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index 2ac1fff5..423c0210 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -326,6 +326,7 @@ Nvim by running `:help lspconfig-all`. - [tombi](#tombi) - [ts_ls](#ts_ls) - [ts_query_ls](#ts_query_ls) +- [tsgo](#tsgo) - [tsp_server](#tsp_server) - [ttags](#ttags) - [turbo_ls](#turbo_ls) @@ -12225,6 +12226,35 @@ Default config: --- +## tsgo + +https://github.com/microsoft/typescript-go + +`typescript-go` is experimental port of the TypeScript compiler (tsc) and language server (tsserver) to the Go programming language. + +`tsgo` can be installed via npm `npm install @typescript/native-preview`. + +Snippet to enable the language server: +```lua +vim.lsp.enable('tsgo') +``` + +Default config: +- `cmd` : + ```lua + { "tsgo", "--lsp", "--stdio" } + ``` +- `filetypes` : + ```lua + { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" } + ``` +- `root_markers` : + ```lua + { "tsconfig.json", "jsconfig.json", "package.json", ".git" } + ``` + +--- + ## tsp_server https://github.com/microsoft/typespec diff --git a/doc/configs.txt b/doc/configs.txt index 05a18f47..26c3fedf 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -9059,6 +9059,28 @@ Default config: < ------------------------------------------------------------------------------ +tsgo + +https://github.com/microsoft/typescript-go + +`typescript-go` is experimental port of the TypeScript compiler (tsc) and language server (tsserver) to the Go programming language. + +`tsgo` can be installed via npm `npm install @typescript/native-preview`. + +Snippet to enable the language server: >lua + vim.lsp.enable('tsgo') + + +Default config: +- cmd: >lua + { "tsgo", "--lsp", "--stdio" } +- filetypes: >lua + { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" } +- root_markers: >lua + { "tsconfig.json", "jsconfig.json", "package.json", ".git" } +< + +------------------------------------------------------------------------------ tsp_server https://github.com/microsoft/typespec |
