Skip to content

Commit

Permalink
fix: LSP symbol gathering when SelectionRange is missing (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Aug 9, 2022
1 parent 0a8c2c5 commit efc597c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/aerial/backends/lsp/callbacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end

local function convert_range(range)
if not range then
return {}
return nil
end
return {
lnum = range.start.line + 1,
Expand Down

0 comments on commit efc597c

Please sign in to comment.