Browse files

tiny refactor in ftplugin

  • Loading branch information...
1 parent c629a60 commit 3547c006835a165a03ed76dcd97bc3cd9f94cdd0 @goonzoid committed Mar 31, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 ftplugin/reprocessed.vim
View
6 ftplugin/reprocessed.vim
@@ -15,10 +15,10 @@ nmap <buffer> <leader>r :w\|:!processing-java --sketch=%:p:h --output=%:p:h/bin
let b:undo_ftplugin = "set cin< cink< fo< sua< et< sw< ts<"
if has("python")
- if !exists("g:processing_doc_path")
- let g:processing_doc_style = "web"
- else
+ if exists("g:processing_doc_path")
let g:processing_doc_style = "local"
+ else
+ let g:processing_doc_style = "web"
endif
function! ProcessingDoc()

0 comments on commit 3547c00

Please sign in to comment.