plugins.navic.settings

Options provided to the require('nvim-navic').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  lsp = {
    auto_attach = true;
    preference = [
      "clangd"
      "tsserver"
    ];
  };
}

Declared by:

plugins.navic.settings.click

Single click to goto element, double click to open nvim-navbuddy on the clicked element.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.navic.settings.depth_limit

Maximum depth of context to be shown. If the context hits this depth limit, it is truncated.

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 0

Declared by:

plugins.navic.settings.depth_limit_indicator

Icon to indicate that depth_limit was hit and the shown context is truncated.

Type: null or string or raw lua code

Default: null

Plugin default: ".."

Declared by:

plugins.navic.settings.highlight

If set to true, will add colors to icons and text as defined by highlight groups NavicIcons* (NavicIconsFile, NavicIconsModule… etc.), NavicText and NavicSeparator.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.navic.settings.lazy_update_context

If true, turns off context updates for the “CursorMoved” event.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.navic.settings.safe_output

Sanitize the output for use in statusline and winbar.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.navic.settings.separator

Icon to separate items. to use between items.

Type: null or string or raw lua code

Default: null

Plugin default: " > "

Declared by: