Skip to content

Commit

Permalink
Merge pull request #2638 from skanehira/fix-open-error
Browse files Browse the repository at this point in the history
fix #2637
  • Loading branch information
bhcleek authored Dec 31, 2019
2 parents 5f2a478 + a179cf9 commit 46459ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autoload/go/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ function! s:lspfactory.reset() dict abort
endfunction

function! s:newlsp() abort
let l:lsp = {'sendMessage': funcref('s:noop')}
let l:lsp = {
\ 'sendMessage': funcref('s:noop'),
\ 'notificationQueue': {},
\ 'fileVersions': {}
\ }

if !go#config#GoplsEnabled()
return l:lsp
Expand Down

0 comments on commit 46459ee

Please sign in to comment.