From 405b220bee527744e86001e2b11cce029633dd5f Mon Sep 17 00:00:00 2001 From: Cameron Ring Date: Sun, 25 Aug 2024 20:29:27 -0700 Subject: [PATCH] docs: enable autocomplete for opts --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f455a99..61aebd5 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ AutoSession takes advantage of Neovim's existing session management capabilities dependencies = { 'nvim-telescope/telescope.nvim', -- Only needed if you want to use session lens }, + + ---enables autocomplete for opts + ---@module "auto-session" + ---@type AutoSession.Config opts = { suppressed_dirs = { '~/', '~/Projects', '~/Downloads', '/' }, -- log_level = 'debug', @@ -163,6 +167,10 @@ You can use Telescope to see, load, and delete your sessions. It's enabled by de { 'ws', 'SessionSave', desc = 'Save session' }, { 'wa', 'SessionToggleAutoSave', desc = 'Toggle autosave' }, }, + + ---enables autocomplete for opts + ---@module "auto-session" + ---@type AutoSession.Config opts = { -- ⚠️ This will only work if Telescope.nvim is installed -- The following are already the default values, no need to provide them if these are already the settings you want.