Skip to content

Commit

Permalink
Include declarations getting references (#1523)
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan authored Dec 21, 2023
1 parent dd862d3 commit d36f381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsp/ui/vim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endfunction

function! lsp#ui#vim#references(ctx) abort
let l:ctx = extend({ 'jump_if_one': 0 }, a:ctx)
let l:request_params = { 'context': { 'includeDeclaration': v:false } }
let l:request_params = { 'context': { 'includeDeclaration': v:true } }
call s:list_location('references', l:ctx, l:request_params)
endfunction

Expand Down

0 comments on commit d36f381

Please sign in to comment.