diff --git a/plugin/newbb.vim b/plugin/newbb.vim index 3a42027..819200f 100644 --- a/plugin/newbb.vim +++ b/plugin/newbb.vim @@ -47,14 +47,14 @@ fun! NewBBTemplate() let l:paste = &paste set nopaste - + " Get the header call BBHeader() " New the bb template put ='SUMMARY = \"\"' put ='HOMEPAGE = \"\"' - put ='LICENSE = \"\"' + put ='LICENSE = \"\"' put ='SECTION = \"\"' put ='DEPENDS = \"\"' put ='' @@ -80,7 +80,7 @@ if v:progname =~ "vimdiff" endif augroup NewBB - au BufNewFile,BufReadPost *.bb + au BufNewFile *.bb \ if g:bb_create_on_empty | \ call NewBBTemplate() | \ endif diff --git a/plugin/newbbappend.vim b/plugin/newbbappend.vim index 3f65f79..249790c 100644 --- a/plugin/newbbappend.vim +++ b/plugin/newbbappend.vim @@ -38,7 +38,7 @@ if v:progname =~ "vimdiff" endif augroup NewBBAppend - au BufNewFile,BufReadPost *.bbappend + au BufNewFile *.bbappend \ if g:bb_create_on_empty | \ call NewBBAppendTemplate() | \ endif