Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove BufWritePost automatic commands

  • Loading branch information...
commit 16f46000a0caf430a88d6e2ec251a662f9105f5c 1 parent 3e4f5a3
@xolox authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 notes.vim
View
6 notes.vim
@@ -3,7 +3,7 @@
" Last Change: December 28, 2010
" URL: http://peterodding.com/code/vim/notes/
" License: MIT
-" Version: 0.7.19
+" Version: 0.7.20
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3375 1 :AutoInstall: session.zip
@@ -66,8 +66,8 @@ augroup PluginNotes
augroup END
augroup filetypedetect
- call s:DefAutoCmd('BufNewFile,BufRead,BufWritePost', g:notes_directory, 'if &bt == "" | setl ft=notes | endif')
- call s:DefAutoCmd('BufNewFile,BufRead,BufWritePost', g:notes_shadowdir, 'if &bt == "" | setl ft=notes | endif')
+ call s:DefAutoCmd('BufNewFile,BufRead', g:notes_directory, 'if &bt == "" | setl ft=notes | endif')
+ call s:DefAutoCmd('BufNewFile,BufRead', g:notes_shadowdir, 'if &bt == "" | setl ft=notes | endif')
augroup END
" Make sure the plug-in is only loaded once.
Please sign in to comment.
Something went wrong with that request. Please try again.