Skip to content

Commit bec2d15

Browse files
committed
refactor: set go-info
1 parent 0e886d4 commit bec2d15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ nnoremap <C-c><C-c> :LAck!<Space>
286286
" commands
287287
au FileType go nmap <leader>r <Plug>(go-run)
288288
au FileType go nmap <leader>t <Plug>(go-alternate-edit)
289-
au FileType go nmap <leader>s <Plug>(go-callees)
289+
au FileType go nmap <leader>s <Plug>(go-info)
290290
au FileType go nmap <leader>d <Plug>(go-def)
291291
au FileType go nmap <leader>f <Plug>(go-referrers)
292292
au FileType go nmap <leader>g <Plug>(go-implements)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ curl -L https://github.com/modood/vimrc/raw/master/install.sh | bash
8282
| `<Leader>o` | Show declarations for the current file<br/>Generate table of contents for markdown | vim-go<br/>vim-markdown-toc |
8383
| `<Leader>p` | Show declarations for the current directory<br/>markdown preview | vim-go<br/>vim-instant-markdown |
8484
| `<Leader>a` | - | - |
85-
| `<Leader>s` | Show A list of possible call targets | vim-go |
85+
| `<Leader>s` | Show type information | vim-go |
8686
| `<Leader>d` | Go to symbol/declaration | vim-go |
8787
| `<Leader>f` | Shows identifiers that refer to the same object | vim-go |
8888
| `<Leader>g` | A list of interfaces for the type that implements | vim-go |

0 commit comments

Comments
 (0)