Skip to content

Commit

Permalink
Fix this plugin has no effect for some cases
Browse files Browse the repository at this point in the history
    * the buffer that is new and no file is read
    * the window made by :split
    * also in other case ?
  • Loading branch information
januswel committed Nov 20, 2009
1 parent 3d94fb5 commit e7ca2d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vim/plugin/ShowInvisibleCharacters.vim
@@ -1,7 +1,7 @@
" Vim plugin file
" Maintainer: janus_wel <janus.wel.3@gmail.com>
" Last Change: 2009/11/20 10:08:58.
" Version: 0.21
" Last Change: 2009/11/20 10:19:34.
" Version: 0.22
" Remark: define syntaxes for invisible characters

" show invisible characters
Expand Down Expand Up @@ -33,7 +33,7 @@ if has('autocmd') && has('syntax')

augroup showInvisible
autocmd! showInvisible
autocmd BufNew,BufRead * call ShowInvisibleCharacters()
autocmd BufWinEnter,ColorScheme * call ShowInvisibleCharacters()
augroup END
endif

Expand Down

0 comments on commit e7ca2d0

Please sign in to comment.