plugins.typescript-tools.enable

Whether to enable typescript-tools.

Type: boolean

Default: false

Example: true

Declared by:

plugins.typescript-tools.package

The typescript-tools package to use.

Type: package

Default: pkgs.vimPlugins.typescript-tools-nvim

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.

Type: null or lua function string

Default: null

Plugin default: "__lspOnAttach"

Declared by: