Skip to content

Commit

Permalink
mappings: fix (go-run) for vim, fixes #542
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih committed Feb 8, 2016
1 parent 2852c3f commit afa2963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/go/mappings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if !exists("g:go_jump_to_error")
endif

" Some handy plug mappings
nnoremap <silent> <Plug>(go-run) :<C-u>call go#cmd#Run(!g:go_jump_to_error, '%')<CR>
nnoremap <silent> <Plug>(go-run) :<C-u>call go#cmd#Run(!g:go_jump_to_error)<CR>
if has("nvim")
nnoremap <silent> <Plug>(go-run-vertical) :<C-u>call go#cmd#RunTerm(!g:go_jump_to_error, 'vsplit')<CR>
Expand Down

0 comments on commit afa2963

Please sign in to comment.