plugins.auto-session.autoSession.enableLastSession

Whether to enable the “last session” feature.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.auto-session.autoSession.enabled

Enables/disables auto creating, saving and restoring.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.auto-session.autoSession.allowedDirs

Allow session create/restore if in one of the list of dirs.

Type: null or (list of string)

Default: null

Declared by:

plugins.auto-session.autoSession.createEnabled

Whether to enable auto creating new sessions

Type: null or boolean

Default: null

Declared by:

plugins.auto-session.autoSession.rootDir

Root directory for session files. Can be either a string or lua code (using {__raw = 'foo';}).

Type: null or string or raw lua code

Default: null

Plugin default: {__raw = "vim.fn.stdpath 'data' .. '/sessions/'";}

Declared by:

plugins.auto-session.autoSession.suppressDirs

Suppress session create/restore if in one of the list of dirs.

Type: null or (list of string)

Default: null

Declared by:

plugins.auto-session.autoSession.useGitBranch

Include git branch name in session name to differentiate between sessions for different git branches.

Type: null or boolean

Default: null

Declared by: