Skip to content

Commit

Permalink
Publish diagnostic capabilities (#457)
Browse files Browse the repository at this point in the history
Include a `publishDiagnostics` key. Specify that the extra capabilities are not yet supported.
  • Loading branch information
thchha committed Mar 25, 2023
1 parent 743be37 commit 6e098b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions autoload/lsc/server.vim
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@ function! s:ClientCapabilities() abort
\ },
\ 'hover': {'contentFormat': ['plaintext', 'markdown']},
\ 'signatureHelp': {'dynamicRegistration': v:false},
\ 'publishDiagnostics': {
\ 'relatedInformation': v:false,
\ 'versionSupport': v:false,
\ 'codeDescriptionSupport': v:false,
\ 'dataSupport': v:false,
\ },
\ }
\}
endfunction
Expand Down

0 comments on commit 6e098b3

Please sign in to comment.