Skip to content

Commit

Permalink
Make commands buffer local
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Jun 14, 2014
1 parent 18c6852 commit 34fd8c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ftplugin/coffee.vim
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,11 @@ if !exists('b:coffee_run_buf')
call s:CoffeeRunResetVars()
endif

command! -range=% -bar -nargs=* -complete=customlist,s:CoffeeComplete
command! -buffer -range=% -bar -nargs=* -complete=customlist,s:CoffeeComplete
\ CoffeeCompile call s:CoffeeCompile(<line1>, <line2>, <q-args>)
command! -bar -nargs=* -complete=customlist,s:CoffeeComplete
command! -buffer -bar -nargs=* -complete=customlist,s:CoffeeComplete
\ CoffeeWatch call s:CoffeeWatch(<q-args>)
command! -range=% -bar -nargs=* CoffeeRun
command! -buffer -range=% -bar -nargs=* CoffeeRun
\ call s:CoffeeRun(<line1>, <line2>, <q-args>)
command! -range=% -bang -bar -nargs=* CoffeeLint
command! -buffer -range=% -bang -bar -nargs=* CoffeeLint
\ call s:CoffeeLint(<line1>, <line2>, <q-bang>, <q-args>)

0 comments on commit 34fd8c6

Please sign in to comment.