Skip to content

Commit d36f381

Browse files
authored
Include declarations getting references (#1523)
1 parent dd862d3 commit d36f381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/ui/vim.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ endfunction
3737

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

0 commit comments

Comments
 (0)