plugins.typescript-tools.enable

Whether to enable typescript-tools.

Type: boolean

Default: false

Example: true

Declared by:

plugins.typescript-tools.package

Which package to use for the typescript-tools plugin.

Type: package

Default: <derivation vimplugin-typescript-tools.nvim-2024-01-16>

Declared by:

plugins.typescript-tools.handlers

How tsserver should respond to LSP requests

Type: null or (attribute set of lua function string)

Default: null

Example:

{
  "textDocument/publishDiagnostics" = ''
    require("typescript-tools.api").filter_diagnostics(
      -- Ignore 'This may be converted to an async function' diagnostics.
      { 80006 }
    )
  '';
}

Declared by:

plugins.typescript-tools.onAttach

Lua code to run when tsserver attaches to a buffer.

Plugin default: __lspOnAttach

Type: null or lua function string

Default: null

Declared by: