Skip to content

Commit

Permalink
Silence "1 substitution on 1 line" messages
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRadev committed Feb 7, 2017
1 parent 2f53379 commit ddc0697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/switch.vim
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,13 @@ autocmd FileType scala let b:switch_definitions =

command! Switch call s:Switch()
function! s:Switch()
call switch#Switch()
silent call switch#Switch()
silent! call repeat#set(":Switch\<cr>")
endfunction

command! SwitchReverse call s:SwitchReverse()
function! s:SwitchReverse()
call switch#Switch({'reverse': 1})
silent call switch#Switch({'reverse': 1})
silent! call repeat#set(":Switch\<cr>")
endfunction

Expand Down

0 comments on commit ddc0697

Please sign in to comment.