Skip to content

tsgo setup question #1

Open
Open

Description

@jay-babu

just had a question of if you got tsgo working with your config. stumbled in my searching for examples.

if you did, do you mind sending your :LspInfo? want to see if there is anything different

Activity

  1. BBboy01 commented on Dec 12, 2025

    @BBboy01
    Owner

    It did works, but for some not implemented method like textDocument_references textDocument_codeAction, it will hang the lsp response, this will block other lsp server to response, or maybe there are problems in my config yet...

    Image

    Image

    
    ==============================================================================
    vim.lsp:                                                                  1 ⚠️
    
    - LSP log level : WARN
    - Log path: /Users/hyber/.local/var/nvim/lsp.log
    - Log size: 769 KB
    
    vim.lsp: Active Clients ~
    - angularls (id: 1)
      - Version: ? (no serverInfo.version response)
      - Root directory: ~/Documents/work/org
      - Command: <function @/Users/hyber/.config/nvim/after/lsp/angularls.lua:50>
      - Settings: {}
      - Attached buffers: 43, 5, 6
    - emmet_language_server (id: 2)
      - Version: ? (no serverInfo.version response)
      - Root directory: ~/Documents/work/org
      - Command: { "emmet-language-server", "--stdio" }
      - Settings: {}
      - Attached buffers: 5
    - html (id: 3)
      - Version: ? (no serverInfo.version response)
      - Root directory: ~/Documents/work/org
      - Command: { "vscode-html-language-server", "--stdio" }
      - Settings: {}
      - Attached buffers: 5
    - stylelint_lsp (id: 4)
      - Version: ? (no serverInfo.version response)
      - Root directory: nil
      - Command: { "stylelint-lsp", "--stdio" }
      - Settings: {}
      - Attached buffers: 5
    - eslint (id: 5)
      - Version: ? (no serverInfo.version response)
      - Root directory: ~/Documents/work/org
      - Command: { "vscode-eslint-language-server", "--stdio" }
      - Settings: {
          codeAction = {
            disableRuleComment = {
              enable = true,
              location = "separateLine"
            },
            showDocumentation = {
              enable = true
            }
          },
          codeActionOnSave = {
            enable = false,
            mode = "all"
          },
          experimental = {
            useFlatConfig = true
          },
          format = true,
          nodePath = "",
          onIgnoredFiles = "off",
          problems = {
            shortenToSingleLine = false
          },
          quiet = false,
          rulesCustomizations = {},
          run = "onType",
          useESLintClass = false,
          validate = "on",
          workingDirectory = {
            mode = "auto"
          },
          workspaceFolder = {
            name = "org",
            uri = "/Users/hyber/Documents/work/org"
          }
        }
      - Attached buffers: 43, 26, 25, 6
    - tailwindcss (id: 6)
      - Version: ? (no serverInfo.version response)
      - Root directory: ~/Documents/work/org
      - Command: { "tailwindcss-language-server", "--stdio" }
      - Settings: {
          editor = {
            tabSize = 2
          },
          tailwindCSS = {
            classAttributes = { "class", "className", "class:list", "classList", "ngClass" },
            includeLanguages = {
              eelixir = "html-eex",
              elixir = "phoenix-heex",
              eruby = "erb",
              heex = "phoenix-heex",
              htmlangular = "html",
              templ = "html"
            },
            lint = {
              cssConflict = "warning",
              invalidApply = "error",
              invalidConfigPath = "error",
              invalidScreen = "error",
              invalidTailwindDirective = "error",
              invalidVariant = "error",
              recommendedVariantOrder = "warning"
            },
            validate = true
          }
        }
      - Attached buffers: 5, 43, 26, 25, 6
    - tsgo (id: 7)
      - Version: 7.0.0-dev.20251211.1
      - Root directory: ~/Documents/work/org
      - Command: { "tsgo", "--lsp", "--stdio" }
      - Settings: {}
      - Attached buffers: 43, 26, 25, 6
    - vtsls (id: 8)
      - Version: 0.2.9
      - Root directory: ~/Documents/work/org
      - Command: { "vtsls", "--stdio" }
      - Settings: {
          complete_function_calls = true,
          javascript = {
            suggest = {
              completeFunctionCalls = true
            },
            updateImportsOnFileMove = {
              enabled = "always"
            }
          },
          typescript = {
            experimental = {
              useTsgo = true
            },
            suggest = {
              completeFunctionCalls = true
            },
            updateImportsOnFileMove = {
              enabled = "always"
            }
          },
          vtsls = {
            autoUseWorkspaceTsdk = true,
            enableMoveToFileCodeAction = true,
            experimental = {
              completion = {
                enableServerSideFuzzyMatch = true
              }
            },
            tsserver = {
              globalPlugins = { {
                  enableForWorkspaceTypeScriptVersions = true,
                  location = "/Users/hyber/.local/share/nvim/mason/packages/angular-language-server/node_modules/@angular/language-server",
                  name = "@angular/language-server"
                }, {
                  configNamespace = "typescript",
                  enableForWorkspaceTypeScriptVersions = true,
                  languages = { "vue" },
                  location = "/Users/hyber/.local/share/nvim/mason/packages/vue-language-server/node_modules/@vue/language-server",
                  name = "@vue/typescript-plugin"
                } }
            }
          }
        }
      - Attached buffers: 43, 26, 25, 6
    
  2. BBboy01 commented on Dec 12, 2025

    @BBboy01
    Owner

    emmm... I just disabled vtsls and only use tsgo, it works fine now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions