Closed balpert89 closed 2 months ago
Thanks, I will look at it.
I cannot reproduce it.
===>
Maybe it is related to your Telescope config ?
I tried with this line here https://github.com/ironcore-dev/ironcore-net/blob/main/apinetlet/controllers/loadbalancer_controller.go#L64
I will also set up a test project to see if this has something to do with the specific codebase.
In the meantime, this is my telescope config:
local actions = require("telescope.actions")
return {
{
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = {
"nvim-lua/plenary.nvim",
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
cond = vim.fn.executable("cmake") == 1,
},
},
opts = {
defaults = {
mappings = {
i = {
["<C-K>"] = "move_selection_previous",
["<C-J>"] = "move_selection_next",
["<C-Q>"] = actions.smart_send_to_qflist + actions.open_qflist,
["<C-X>"] = "delete_buffer",
["<Enter>"] = "file_tab",
},
n = {
["<C-Q>"] = actions.smart_send_to_qflist + actions.open_qflist,
["<Enter>"] = "file_vsplit",
},
},
file_ignore_patterns = {
"node_modules",
"yarn.lock",
".git",
".sl",
"_build",
".next",
},
hidden = true,
path_display = {
"filename_first",
},
},
extensions = {
advanced_git_search = {
browse_command = "GBrowse {commit_hash}",
diff_plugin = "fugitive",
git_flags = {},
git_diff_flags = {},
show_builtin_git_pickers = false,
entry_default_author_or_date = "author", -- one of "author" or "date"
keymaps = {
-- following keymaps can be overridden
toggle_date_author = "<C-w>",
open_commit_in_browser = "<C-o>",
copy_commit_hash = "<C-y>",
show_entire_commit = "<C-e>",
},
},
},
},
config = function(_, opts)
require("telescope").setup(opts)
-- Enable telescope fzf native, if installed
pcall(require("telescope").load_extension, "fzf")
-- Enable telescope advanced git search, if installed
pcall(require("telescope").load_extension, "advanced_git_search")
end,
},
}
Okay, with exactly the same Telescope config, I get the same error as you:
It is now fixed. I've set
Screenshot:
The error occurs regardless of the option I choose.
Error Stack:
Used software:
b16e603
Configuration: