Skip to content

Commit

Permalink
fix: mark more settings as optional
Browse files Browse the repository at this point in the history
So it won't generate warnings if you only set some of them
  • Loading branch information
cameronr committed Nov 2, 2024
1 parent 3cd531c commit 2aadc0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/auto-session/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ local M = {}
---@field mappings? SessionLensMappings

---@class SessionControl
---@field control_dir string
---@field control_filename string
---@field control_dir? string
---@field control_filename? string

---Session Lens Mapping
---@class SessionLensMappings
---@field delete_session table mode and key for deleting a session from the picker
---@field alternate_session table mode and key for swapping to alertnate session from the picker
---@field copy_session table mode and key for copying a session from the picker
---@field delete_session? table mode and key for deleting a session from the picker
---@field alternate_session? table mode and key for swapping to alertnate session from the picker
---@field copy_session? table mode and key for copying a session from the picker

---@type AutoSession.Config
local defaults = {
Expand Down

0 comments on commit 2aadc0d

Please sign in to comment.