Skip to content

Commit

Permalink
fix: pass bufnr to LSP callback (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed May 27, 2022
1 parent a2d163e commit 95a6f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/aerial/backends/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ M.fetch_symbols_sync = function(bufnr, opts)
if err then
vim.api.nvim_err_writeln("Error when finding document symbols: " .. err)
else
callbacks.handle_symbols(lsp_results[1].result)
callbacks.handle_symbols(lsp_results[1].result, bufnr)
end
end

Expand Down

0 comments on commit 95a6f71

Please sign in to comment.