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
Originally posted by jrebs September 28, 2024
Not putting this in as an issue unless I can confirm it isn't just me. My environment picker window is working generally. It picks up the env files in the current dir correctly and I can arrow up/down and hit enter to load and use my selected file, but when I use the text entry to try to filter the list down, it does nothing. Well, more accurately it immediately selects the bottom item in the list, no matter what I type and no matter which is currently selected when I type the keystroke.
However, if I use the command ":Telescope find_files" within the same nvim instance and same directory, the text filtering works as expected, so it seems to only be the rest.nvim telescope extension. Is anyone else having the same issue on a similar platform?
I'm using nvim 0.10.1 release on xubuntu using Lazyvim and all my plugins are up to date as of today.
Oh, and I've tried a few different variations on how the select_env() method is being fired, but the current version of my rest.nvim.lua plugin loader looks like this:
return {
'rest-nvim/rest.nvim',
dependencies= {
'rest-nvim/tree-sitter-http',
},
config=function()
vim.keymap.set('n', '<Leader>rr', ':hor Rest run<CR>', {})
vim.keymap.set('n', '<Leader>re', function()
-- first load extensionrequire('telescope').load_extension'rest'-- then use it, you can also use the `:Telescope rest select_env` commandrequire('telescope').extensions.rest.select_env()
end, {})
end,
-- JSON formatting of responses would not work for me using out-of-the-box-- suppot as indicated in the rest.nvim readme, but in the following Github-- issue, the plugin author posted the following solution that fixed it for-- me. Create the file $NVIM/fplugin/json.lua with the following contents:---- vim.bo.formatexpr = “”-- vim.bo.formatprg = “jq”---- https://github.com/rest-nvim/rest.nvim/issues/414
}
Using the :Telescope rest select_env command to invoke the picker yields the same behaviour.
The text was updated successfully, but these errors were encountered:
Discussed in #474
Transferring to an issue as I can reproduce it.
Originally posted by jrebs September 28, 2024
Not putting this in as an issue unless I can confirm it isn't just me. My environment picker window is working generally. It picks up the env files in the current dir correctly and I can arrow up/down and hit enter to load and use my selected file, but when I use the text entry to try to filter the list down, it does nothing. Well, more accurately it immediately selects the bottom item in the list, no matter what I type and no matter which is currently selected when I type the keystroke.
However, if I use the command ":Telescope find_files" within the same nvim instance and same directory, the text filtering works as expected, so it seems to only be the rest.nvim telescope extension. Is anyone else having the same issue on a similar platform?
I'm using nvim 0.10.1 release on xubuntu using Lazyvim and all my plugins are up to date as of today.
Oh, and I've tried a few different variations on how the select_env() method is being fired, but the current version of my rest.nvim.lua plugin loader looks like this:
Using the
:Telescope rest select_env
command to invoke the picker yields the same behaviour.The text was updated successfully, but these errors were encountered: