Skip to content

Commit

Permalink
lsp: set clientInfo in Initialize
Browse files Browse the repository at this point in the history
Set clientInfo to allow telemetry to be used.

Relates to golang/go#61038.

ref: https://go-review.googlesource.com/c/tools/+/506635
  • Loading branch information
bhcleek committed Aug 2, 2023
1 parent 12de6c0 commit 68961c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/go/lsp/message.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ function! go#lsp#message#Initialize(wd) abort
\ 'method': 'initialize',
\ 'params': {
\ 'processId': getpid(),
\ 'clientInfo': {
\ 'name': 'vim-go',
\ },
\ 'rootUri': go#path#ToURI(a:wd),
\ 'capabilities': {
\ 'workspace': {
Expand Down

0 comments on commit 68961c0

Please sign in to comment.