plugins.typescript-tools.settings.codeLens

WARNING: Experimental feature also in VSCode, disabled by default because it might impact server performance.

Plugin default: "off"

Type: null or one of “off”, “all”, “implementations_only”, “references_only” or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.completeFunctionCalls

Mirror of VSCode’s typescript.suggest.completeFunctionCalls

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.disableMemberCodeLens

By default code lenses are displayed on all referenceable values. Display less by removing member references from lenses.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.exposeAsCodeAction

Specify what to expose as code actions.

Type: value “all” (singular enum) or list of (one of “fix_all”, “add_missing_imports”, “remove_unused”, “remove_unused_imports”, “organize_imports”, “insert_leave”)

Default: [ ]

Declared by:

plugins.typescript-tools.settings.includeCompletionsWithInsertText

Mirror of VSCode’s typescript.suggest.completeFunctionCalls

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.publishDiagnosticOn

Either “change” or “insert_leave”. Determines when the client asks the server about diagnostics

Plugin default: "insert_leave"

Type: null or one of “change”, “insert_leave” or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.separateDiagnosticServer

Spawns an additional tsserver instance to calculate diagnostics

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.tsserverFilePreferences

Configuration options that well be passed to the tsserver instance. Find available options here

Type: null or (attribute set of anything)

Default: null

Example:

{
  tsserver_format_options = ''
    {
      allowIncompleteCompletions = false,
      allowRenameOfImportPath = false,
      ...
    }'';
}

Declared by:

plugins.typescript-tools.settings.tsserverFormatOptions

Configuration options that well be passed to the tsserver instance. Find available options here

Type: null or (attribute set of anything)

Default: null

Example:

{
  tsserver_file_preferences = ''
    {
      includeInlayParameterNameHints = "all",
      includeCompletionsForModuleExports = true,
      quotePreference = "auto",
      ...
    }
  '';
}

Declared by:

plugins.typescript-tools.settings.tsserverLocale

Locale of all tsserver messages. Supported locales here: https://github.com/microsoft/TypeScript/blob/3c221fc086be52b19801f6e8d82596d04607ede6/src/compiler/utilitiesPublic.ts#L620

Plugin default: "en"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.tsserverMaxMemory

This value is passed to: https://nodejs.org/api/cli.html#–max-old-space-sizesize-in-megabytes Memory limit in megabytes or “auto”(basically no limit)

Type: null or unsigned integer, meaning >=0, or value “auto” (singular enum) or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.tsserverPath

Specify a custom path to tsserver.js file, if this is nil or file under path doesn’t exist then standard path resolution strategy is applied

Type: null or string or raw lua code

Default: null

Declared by:

plugins.typescript-tools.settings.tsserverPlugins

List of plugins for tsserver to load. See this plugins’s README at https://github.com/pmizio/typescript-tools.nvim/#-styled-components-support

Type: null or (list of (string or raw lua code))

Default: null

Declared by: