Skip to content

Commit

Permalink
guru: drop guru support
Browse files Browse the repository at this point in the history
Guru has been removed from golang.org/x/tools/cmd/guru as described in
https://docs.google.com/document/d/1_Y9xCEMj5S-7rv2ooHpZNH15JgRT5iM742gJkw5LtmQ/edit#heading=h.ojv16z1d1gas.
  • Loading branch information
bhcleek committed Mar 18, 2024
1 parent 744aa99 commit 5f7dfc8
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 711 deletions.
22 changes: 0 additions & 22 deletions autoload/go/config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -141,28 +141,6 @@ function! go#config#InfoMode() abort
return get(g:, 'go_info_mode', 'gopls')
endfunction

function! go#config#GuruScope() abort
let scope = get(g:, 'go_guru_scope', [])

if !empty(scope)
" strip trailing slashes for each path in scope. bug:
" https://github.com/golang/go/issues/14584
let scopes = go#util#StripTrailingSlash(scope)
endif

return scope
endfunction

function! go#config#SetGuruScope(scope) abort
if empty(a:scope)
if exists('g:go_guru_scope')
unlet g:go_guru_scope
endif
else
let g:go_guru_scope = a:scope
endif
endfunction

function! go#config#EchoCommandInfo() abort
return get(g:, 'go_echo_command_info', 1)
endfunction
Expand Down
Loading

0 comments on commit 5f7dfc8

Please sign in to comment.