Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Silence Vim's messages on file read

They cause "Press ENTER..." messages to appear as in #30 and we
don't want them.
  • Loading branch information...
commit af4f3a51b6b654d655121b93c0cd9d8fe9a0c85d 1 parent a63b877
xaizek xaizek authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 plugin/extradite.vim
4 plugin/extradite.vim
@@ -122,7 +122,7 @@ function! s:ExtraditeLoadCommitData(bang, base_file_name, template_cmd, ...) abo
122 122 endif
123 123
124 124 if s:ExtraditeIsActiveInTab()
125   - edit
  125 + silent! edit
126 126 else
127 127 if a:bang
128 128 exe 'keepjumps leftabove vnew'
@@ -137,7 +137,7 @@ function! s:ExtraditeLoadCommitData(bang, base_file_name, template_cmd, ...) abo
137 137 " Instead of just disabling the option also :read file and remove first
138 138 " (empty) line from original buffer instead of :editing the file.
139 139 setlocal nomodeline
140   - exe 'read' log_file
  140 + exe 'silent! read' log_file
141 141 0delete
142 142
143 143 let b:git_cmd = git_cmd

0 comments on commit af4f3a5

Please sign in to comment.
Something went wrong with that request. Please try again.