Skip to content

Commit

Permalink
fix(telescope): ignore built-in colorschemes if possible by default s…
Browse files Browse the repository at this point in the history
…ince they are not compatible anyway
  • Loading branch information
mehalter committed Jun 16, 2024
1 parent 365aa6e commit 0888e1d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/astronvim/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ return {
end
maps.n["<Leader>fo"] = { function() require("telescope.builtin").oldfiles() end, desc = "Find history" }
maps.n["<Leader>fr"] = { function() require("telescope.builtin").registers() end, desc = "Find registers" }
maps.n["<Leader>ft"] =
{ function() require("telescope.builtin").colorscheme { enable_preview = true } end, desc = "Find themes" }
maps.n["<Leader>ft"] = {
function() require("telescope.builtin").colorscheme { enable_preview = true, ignore_builtins = true } end,
desc = "Find themes",
}
if vim.fn.executable "rg" == 1 then
maps.n["<Leader>fw"] = { function() require("telescope.builtin").live_grep() end, desc = "Find words" }
maps.n["<Leader>fW"] = {
Expand Down

0 comments on commit 0888e1d

Please sign in to comment.