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
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
I'm using the latest symbols-outline.nvim with coc.nvim and get the following error messages when calling :SymbolsOutline:
...ols-outline.nvim/lua/symbols-outline/utils/lsp_utils.lua:45: attempt to index field 'location' (a nil value)
stack traceback:
^I...ols-outline.nvim/lua/symbols-outline/utils/lsp_utils.lua:45: infunction'get_selection_range'
^I...gged\symbols-outline.nvim/lua/symbols-outline/parser.lua:30: infunction'parse'
^I...vim\plugged\symbols-outline.nvim/lua/symbols-outline.lua:296: infunction'on_symbols'
^I...mbols-outline.nvim/lua/symbols-outline/providers/coc.lua:90: infunction<...mbols-outline.nvim/lua/symbols-outline
/providers/coc.lua:89>
After some debugging, I found that it may be related to the returns of request_symbols function in coc.lua (link). The returned table cannot be resolved by the sort_symbols function in lsp_utils.lua.
Since I don't have nvim-lsp configured, I have no idea how to fix the request_symbols in coc.lua without a reference. I will be happy to create a PR if the return contents of other symbol provider are provided. Thanks.
The text was updated successfully, but these errors were encountered:
I'm using the latest symbols-outline.nvim with coc.nvim and get the following error messages when calling
:SymbolsOutline
:After some debugging, I found that it may be related to the returns of
request_symbols
function in coc.lua (link). The returned table cannot be resolved by thesort_symbols
function in lsp_utils.lua.Since I don't have nvim-lsp configured, I have no idea how to fix the
request_symbols
in coc.lua without a reference. I will be happy to create a PR if the return contents of other symbol provider are provided. Thanks.The text was updated successfully, but these errors were encountered: