Skip to content

Commit

Permalink
Disable session lens
Browse files Browse the repository at this point in the history
Prevent loading Telescope. This prevents telescope to start with autosession
(on startup).
  • Loading branch information
Blackjacx committed Sep 13, 2024
1 parent 97bc76a commit c27438b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bootstrap/config_dirs/nvim/lua/user/plugins/autosession.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
end,
dependencies = {
"nvim-telescope/telescope.nvim", -- Only needed if you want to use sesssion lens
-- "nvim-telescope/telescope.nvim", -- Only needed if you want to use sesssion lens
},
keys = {
-- Will use Telescope if installed or a vim.ui.select picker otherwise
Expand All @@ -18,5 +18,8 @@ return {
suppressed_dirs = { "/", "~/", "~/Downloads" },
-- log_level = 'debug',
auto_restore = true, -- Enables/disables auto restoring session on start
session_lens = {
load_on_setup = false, -- prevent loading telescope with autosession, which is required on startup
},
},
}

0 comments on commit c27438b

Please sign in to comment.