You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -66,13 +66,14 @@ Here are the default settings:
66
66
auto_restore_last_session=false, -- On startup, loads the last saved session if session for cwd does not exist
67
67
use_git_branch=false, -- Include git branch name in session name
68
68
lazy_support=true, -- Automatically detect if Lazy.nvim is being used and wait until Lazy is done to make sure session is restored correctly. Does nothing if Lazy isn't being used. Can be disabled if a problem is suspected or for debugging
69
-
bypass_save_filetypes=nil, -- List of file types to bypass auto save when the only buffer open is one of the file types listed, useful to ignore dashboards
69
+
bypass_save_filetypes=nil, -- List of filetypes to bypass auto save when the only buffer open is one of the file types listed, useful to ignore dashboards
70
70
close_unsupported_windows=true, -- Close windows that aren't backed by normal file before autosaving a session
71
71
args_allow_single_directory=true, -- Follow normal sesion save/load logic if launched with a single directory as the only argument
72
72
args_allow_files_auto_save=false, -- Allow saving a session even when launched with a file argument (or multiple files/dirs). It does not load any existing session first. While you can just set this to true, you probably want to set it to a function that decides when to save a session when launched with file args. See documentation for more detail
73
73
continue_restore_on_error=true, -- Keep loading the session even if there's an error
74
74
show_auto_restore_notif=false, -- Whether to show a notification when auto-restoring
75
75
cwd_change_handling=false, -- Follow cwd changes, saving a session before change and restoring after
76
+
lsp_stop_on_restore=false, -- Should language servers be stopped when restoring a session. Can also be a function that will be called if set. Not called on autorestore from startup
76
77
log_level="error", -- Sets the log level of the plugin (debug, info, warn, error).
{cwd_change_handling?} (boolean) Follow cwd changes, saving a session before change and restoring after
33
+
{lsp_stop_on_restore?} (boolean|function) Should language servers be stopped when restoring a session. Can also be a function that will be called if set. Not called on autorestore from startup
---@fieldcwd_change_handling? boolean Follow cwd changes, saving a session before change and restoring after
29
+
---@fieldlsp_stop_on_restore? boolean|function Should language servers be stopped when restoring a session. Can also be a function that will be called if set. Not called on autorestore from startup
continue_restore_on_error=true, -- Keep loading the session even if there's an error
80
81
show_auto_restore_notif=false, -- Whether to show a notification when auto-restoring
81
82
cwd_change_handling=false, -- Follow cwd changes, saving a session before change and restoring after
83
+
lsp_stop_on_restore=false, -- Should language servers be stopped when restoring a session. Can also be a function that will be called if set. Not called on autorestore from startup
82
84
log_level="error", -- Sets the log level of the plugin (debug, info, warn, error).
0 commit comments