Skip to content

Commit e5d2d3f

Browse files
authored
fix reporting of typeHierarchy capability (#1350)
1 parent 309e9e5 commit e5d2d3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

autoload/lsp.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,9 @@ function! lsp#default_get_supported_capabilities(server_info) abort
581581
\ 'willSave': v:false,
582582
\ 'willSaveWaitUntil': v:false,
583583
\ },
584-
\ 'typeHierarchy': v:false,
584+
\ 'typeHierarchy': {
585+
\ 'dynamicRegistration': v:false
586+
\ },
585587
\ 'typeDefinition': {
586588
\ 'dynamicRegistration': v:false,
587589
\ 'linkSupport' : v:true

0 commit comments

Comments
 (0)