Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxguo committed Dec 18, 2023
1 parent e8c1805 commit cae7315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autoload/go/debug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ endfunction
function! go#debug#TestFunc(...) abort
let l:test = go#util#TestName()
if l:test is ''
call go#util#Warn("vim-go: [debug] no test found immediate to cursor")
call go#util#EchoWarning("vim-go: [debug] no test found immediate to cursor")
return
endif
call call('go#debug#Start', extend(['test', '.', '-test.run', printf('%s$', l:test)], a:000))
Expand Down
6 changes: 3 additions & 3 deletions autoload/go/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ function! s:definitionHandler(next, msg) abort dict

let l:line = s:lineinfile(go#path#FromURI(l:msg.uri), l:msg.range.start.line+1)
if l:line is -1
call go#util#Warn('could not find definition')
call go#util#EchoWarning('could not find definition')
return
endif

Expand Down Expand Up @@ -651,7 +651,7 @@ function! s:typeDefinitionHandler(next, msg) abort dict

let l:line = s:lineinfile(go#path#FromURI(l:msg.uri), l:msg.range.start.line+1)
if l:line is -1
call go#util#Warn('could not find definition')
call go#util#EchoWarning('could not find definition')
return
endif

Expand Down Expand Up @@ -1866,7 +1866,7 @@ function s:applyDocumentChanges(changes)

let l:editbufnr = bufnr(l:bufname)
if l:editbufnr == -1
call go#util#EchoWarn(printf('could not apply changes to %s', l:fname))
call go#util#EchoWarning(printf('could not apply changes to %s', l:fname))
continue
endif

Expand Down

0 comments on commit cae7315

Please sign in to comment.