You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my configuration, I set \t to open :Telescope to select any picker I want, and then I have other key bindings for specific pickers, for example I have \f set to find_files.
I recently added some extensions, but unfortunately they don't show up in :Telescope, which only lists builtin pickers.
Is there some way to browse extensions and their associated pickers from within Telescope? If not, could we add one? This could be a consideration for #1228 as well -- if there are no builtins, we certainly want a nice way to browse extensions.
-- Configuration, using packer.use {
"nvim-telescope/telescope.nvim",
config=function()
-- Set some key bindings; \t for all telescope pickers, others for specific pickers.vim.api.nvim_set_keymap("n", "<leader>t", ":<C-u>Telescope<CR>", { noremap=true })
vim.api.nvim_set_keymap("n", "<leader>f", ":<C-u>Telescope find_files<CR>", { noremap=true })
-- ...require("telescope").setup{}
-- Load some extensionsrequire('telescope').load_extension("fzy_native")
require("telescope").load_extension("ui-select") -- telescope-ui-select.nvimrequire("telescope").load_extension("gh") -- telescope-github.nvimrequire("telescope").load_extension("file_browser") -- telescope-file-browser.nvimrequire("telescope").load_extension("packer") -- telescope-packer.nvimend,
requires= {
"nvim-lua/popup.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope-fzy-native.nvim",
"nvim-telescope/telescope-ui-select.nvim",
"nvim-telescope/telescope-github.nvim",
"nvim-telescope/telescope-file-browser.nvim",
"nvim-telescope/telescope-packer.nvim",
},
}
Neovim version
$ nvim --version
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@HMBRW-A-001-M1-004.local
Features: +acl +iconv +tui
$ uname -a
Darwin helvetica 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64
Operating system and version
macOS Monterey 12.3.1
checkhealth telescope
telescope: require("telescope.health").check()
========================================================================## Checking for required plugins- OK: plenary installed.
- OK: nvim-treesitter installed.
## Checking external dependencies- OK: rg: found ripgrep 13.0.0
- OK: fd: found fd 8.3.2
## ===== Installed extensions =====## Telescope Extension: `file_browser`- INFO: No healthcheck provided
## Telescope Extension: `fzy_native`- INFO: No healthcheck provided
## Telescope Extension: `gh`- INFO: No healthcheck provided
## Telescope Extension: `packer`- INFO: No healthcheck provided
## Telescope Extension: `ui-select`- INFO: No healthcheck provided
Steps to reproduce
nvim -nu minimal.lua: load nvim with Telescope installed and some extensions, e.g. nvim-telescope/telescope-github.nvim.
:Telescope and search for gh; nothing shows up.
:Telescope gh issues can load the GitHub extension, but :Telescope/:Telescope pickers doesn't list it, and :Telescope gh give an error instead of listing pickers from the GitHub extension.
Expected behavior
Pickers from extensions are listed in :Telescope, :Telescope pickers, or similar.
Actual behavior
Pickers from extensions are not listed and must be memorized/bound to keys directly.
So they should show up when you autocomplete :Telescope g<tab> should give you the extension (namespace) gh and <tab> should then show the pickers.
Furthermore you can do Telescope builtin include_extensions=true to also get them with :Telescope which is just a shorthand for :Telescope builtin (but our command parser don't supports opts as second argument (yet)). see :help telescope.builtin.builtin()
Description
In my configuration, I set
\t
to open:Telescope
to select any picker I want, and then I have other key bindings for specific pickers, for example I have\f
set tofind_files
.I recently added some extensions, but unfortunately they don't show up in
:Telescope
, which only lists builtin pickers.Is there some way to browse extensions and their associated pickers from within Telescope? If not, could we add one? This could be a consideration for #1228 as well -- if there are no builtins, we certainly want a nice way to browse extensions.
Neovim version
Operating system and version
macOS Monterey 12.3.1
checkhealth telescope
Steps to reproduce
nvim -nu minimal.lua
: loadnvim
with Telescope installed and some extensions, e.g.nvim-telescope/telescope-github.nvim
.:Telescope
and search forgh
; nothing shows up.:Telescope gh issues
can load the GitHub extension, but:Telescope
/:Telescope pickers
doesn't list it, and:Telescope gh
give an error instead of listing pickers from the GitHub extension.Expected behavior
Pickers from extensions are listed in
:Telescope
,:Telescope pickers
, or similar.Actual behavior
Pickers from extensions are not listed and must be memorized/bound to keys directly.
Minimal config
The text was updated successfully, but these errors were encountered: