plugins.neo-tree.sourceSelector.contentLayout

Defines how the labels are placed inside a tab. This only takes effect when the tab width is greater than the length of label i.e. tabsLayout = "equal", "focus" or when tabsMinWidth is large enough.

Following options are available. “start” : left aligned / 裡 bufname /… “end” : right aligned / 裡 bufname /… “center” : centered with equal padding / 裡 bufname /…

Type: null or one of “start”, “end”, “focus” or raw lua code

Default: null

Plugin default: "start"

Declared by:

plugins.neo-tree.sourceSelector.highlightBackground

Type: null or string or raw lua code

Default: null

Plugin default: "NeoTreeTabInactive"

Declared by:

plugins.neo-tree.sourceSelector.highlightSeparator

Type: null or string or raw lua code

Default: null

Plugin default: "NeoTreeTabSeparatorInactive"

Declared by:

plugins.neo-tree.sourceSelector.highlightSeparatorActive

Type: null or string or raw lua code

Default: null

Plugin default: "NeoTreeTabSeparatorActive"

Declared by:

plugins.neo-tree.sourceSelector.highlightTab

Type: null or string or raw lua code

Default: null

Plugin default: "NeoTreeTabInactive"

Declared by:

plugins.neo-tree.sourceSelector.highlightTabActive

Type: null or string or raw lua code

Default: null

Plugin default: "NeoTreeTabActive"

Declared by:

plugins.neo-tree.sourceSelector.padding

Defines the global padding of the source selector. It can be an integer or an attrs with keys left and right. Setting padding = 2 is exactly the same as { left = 2; right = 2; }.

Example: { left = 2; right = 0; }

Type: null or signed integer or attribute set of signed integer

Default: null

Plugin default: 0

Declared by:

plugins.neo-tree.sourceSelector.separator

{ left = “▏”; right= “▕”; }

Type: null or string or (submodule)

Default: null

Plugin default: Can be a string or a table

Declared by:

plugins.neo-tree.sourceSelector.separatorActive

Set separators around the active tab. null falls back to sourceSelector.separator.

Type: null or string or (submodule)

Default: null

Plugin default: null

Declared by:

plugins.neo-tree.sourceSelector.showScrolledOffParentNode

If true, tabs are replaced with the parent path of the top visible node when scrolled down.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.neo-tree.sourceSelector.showSeparatorOnEdge

Takes a boolean value where false (default) hides the separators on the far left / right. Especially useful when left and right separator are the same.

'true'  : ┃/    ~    \/    ~    \/    ~    \┃
'false' : ┃     ~    \/    ~    \/    ~     ┃

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.neo-tree.sourceSelector.statusline

toggle to show selector on statusline

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.neo-tree.sourceSelector.tabsLayout

Defines how the tabs are aligned inside the window when there is more than enough space. The following options are available. active will expand the focused tab as much as possible. Bars denote the edge of window.

"start"  : left aligned                                       ┃/  ~  \/  ~  \/  ~  \            ┃
"end"    : right aligned                                      ┃            /  ~  \/  ~  \/  ~  \┃
"center" : centered with equal padding                        ┃      /  ~  \/  ~  \/  ~  \      ┃
"equal"  : expand all tabs equally to fit the window width    ┃/    ~    \/    ~    \/    ~    \┃
"active" : expand the focused tab to fit the window width     ┃/  focused tab    \/  ~  \/  ~  \┃

Type: null or one of “start”, “end”, “center”, “equal”, “focus” or raw lua code

Default: null

Plugin default: "equal"

Declared by:

plugins.neo-tree.sourceSelector.tabsMaxWidth

This will truncate text even if textTruncToFit = false

Type: null or signed integer

Default: null

Plugin default: null

Declared by:

plugins.neo-tree.sourceSelector.tabsMinWidth

If int padding is added based on contentLayout

Type: null or signed integer

Default: null

Plugin default: null

Declared by:

plugins.neo-tree.sourceSelector.truncationCharacter

Character to use when truncating the tab label

Type: null or string or raw lua code

Default: null

Plugin default: "…"

Declared by:

plugins.neo-tree.sourceSelector.winbar

toggle to show selector on winbar

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by: