mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
Inlay hint (#1347)
* inlay hint * implement inlayHints * implement inlayHints * update doc * fix * fix * separate highlights * update/clear * use callbag * remove from doc * disable default * update doc * check version * check label array * call prop_remove() * use lsp#utils#range#get_range() * add comma * add lsp_inlay_hints_mode * own highlight * update doc * fix style check * rename lsp#utils#_has_virtual_text to lsp#utils#_has_nvim_virtual_text lsp#utils#_has_vim9textprops to lsp#utils#_has_vim_virtual_text * update doc * fix version * remove all
This commit is contained in:
@@ -69,6 +69,7 @@ function! lsp#enable() abort
|
||||
call lsp#internal#show_message#_enable()
|
||||
call lsp#internal#work_done_progress#_enable()
|
||||
call lsp#internal#completion#documentation#_enable()
|
||||
call lsp#internal#inlay_hints#_enable()
|
||||
call s:register_events()
|
||||
endfunction
|
||||
|
||||
@@ -540,6 +541,9 @@ function! lsp#default_get_supported_capabilities(server_info) abort
|
||||
\ 'dynamicRegistration': v:false,
|
||||
\ 'contentFormat': ['markdown', 'plaintext'],
|
||||
\ },
|
||||
\ 'inlayHint': {
|
||||
\ 'dynamicRegistration': v:false,
|
||||
\ },
|
||||
\ 'implementation': {
|
||||
\ 'dynamicRegistration': v:false,
|
||||
\ 'linkSupport' : v:true
|
||||
|
||||
Reference in New Issue
Block a user