Open fzhzhen1987 opened 1 year ago
I just used the master branch. It seems you have already fixed this issue. Thank you, my respected friend.
is this bug also present on the telescope 0.1.x branch? if not we should just close this bug report and i plan to release 0.1.2 in the next couple of days
Description
I am using the whichkey plugin and setting lsp_document_symbols.like this: [""] = {"lua require('telescope.builtin').lsp_document_symbols(require('telescope.themes').get_ivy())", "Find Document Symbols"}
Executing this command caused a bug.
Neovim version
Operating system and version
archlinux
Telescope version / branch / rev
telescope tag = "0.1.1"
checkhealth telescope
Steps to reproduce
Expected behavior
No response
Actual behavior
error message:
E5108: Error executing lua ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:448: attempt to index field 'resolved_capabilities' (a nil value) stack traceback: ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:448: in function 'check_capabilities' ...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:488: in function 'v' ...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:489: in function 'lsp_document_symbols' [string ":lua"]:1: in main chunk
Minimal config