Skip to content

Commit 36cc104

Browse files
fix is_error for highlight_references (#920)
1 parent 51eb1f6 commit 36cc104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/internal/highlight_references.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function! s:set_highlights(data) abort
7676

7777
if mode() !=# 'n' | return | endif
7878

79-
if lsp#client#is_error(a:data) | return | endif
79+
if lsp#client#is_error(a:data['response']) | return | endif
8080

8181
" Get references from the response
8282
let l:reference_list = a:data['response']['result']

0 commit comments

Comments
 (0)