File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,20 @@ vim.g.maplocalleader = ' '
9393-- Set to true if you have a Nerd Font installed and selected in the terminal
9494vim .g .have_nerd_font = false
9595
96+ -- To disable the default Telescope plugin and replace it with
97+ -- another picker (like snacks), set this flag to true
98+ -- By default, Telescope is included and acts as your picker for everything.
99+
100+ -- If you want to replace Telescope with another picker:
101+ -- 1. Set `vim.g.disable_telescope = true`
102+ -- 2. Enable your replacement picker by requiring it explicitly (e.g., 'kickstart.plugins.snacks').
103+
104+ -- Note: When you customize your config for yourself,
105+ -- it’s best to remove the Telescope plugin config entirely
106+ -- instead of just disabling it here, to keep your config clean.
107+
108+ vim .g .disable_telescope = false -- set to true to disable Telescope
109+
96110-- [[ Setting options ]]
97111-- See `:help vim.o`
98112-- NOTE: You can change these options as you wish!
@@ -360,6 +374,7 @@ require('lazy').setup({
360374
361375 { -- Fuzzy Finder (files, lsp, etc)
362376 ' nvim-telescope/telescope.nvim' ,
377+ enabled = not vim .g .disable_telescope ,
363378 event = ' VimEnter' ,
364379 dependencies = {
365380 ' nvim-lua/plenary.nvim' ,
You can’t perform that action at this time.
0 commit comments