Skip to content

Commit bdf73b0

Browse files
committed
Fix autogrp
1 parent a11d62e commit bdf73b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# vim-trimmer
22

33
A super-simple vim plugin that:
4-
* Adds an auto-command that trims trailing whitespace on buffer write while
4+
* Adds an autocmd that trims trailing whitespace on buffer write while
55
preserving cursor position.
6-
* Optionally disables the autocommand for specified blacklisted filetypes (see
6+
* Optionally disables the autocmd for specified blacklisted filetypes (see
77
configuration).
88

99
## Installation

plugin/vim-trimmer.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ endif
55
augroup vimTrimmer
66
autocmd!
77
autocmd BufWritePre * call s:TrimTrailingWhitespace(g:trimmer_blacklist)
8-
end
8+
augroup END
99

1010
function! s:TrimTrailingWhitespace(blacklist)
1111
if index(a:blacklist, &ft) < 0

0 commit comments

Comments
 (0)