Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: goonzoid/vim-reprocessed
base: 6f9b1b16fc
...
head fork: goonzoid/vim-reprocessed
compare: c87ce67158
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 16 additions and 10 deletions.
  1. +5 −4 README.md
  2. +1 −6 ftplugin/reprocessed.vim
  3. +10 −0 indent/reprocessed.vim
View
9 README.md
@@ -7,6 +7,8 @@ which was in turn an extension of vim script
[#2115](http://www.vim.org/scripts/script.php?script_id=2115).
Please note that this plugin has currently only been tested on OS X.
+I would love to hear from you if you use this plugin (successfully or
+otherwise) on Windows or Linux.
## Features
@@ -43,10 +45,9 @@ be able to install this from within Processing.app. See the [processing wiki]
__WARNING:__ If you have a directory inside your sketch directory called "bin"
then it will be destroyed when you run your sketch using this method, unless you
have explicitly configured reprocessed to use a different path using
-`processing_output_dir`.
-If for some reason you need to specify the output directory for `processing-java`
-to some path other than "bin", then you can do so with the following line in your
-.vimrc:
+`processing_output_dir`. If for some reason you need to specify the output
+directory for `processing-java` to some path other than "bin", then you can do
+so with the following line in your .vimrc:
let processing_output_dir="output_directory"
View
7 ftplugin/reprocessed.vim
@@ -1,16 +1,11 @@
-" Only do this when not done yet for this buffer
if (exists("b:did_ftplugin"))
finish
endif
let b:did_ftplugin = 1
-" Various local settings
-setlocal cindent
-setlocal cinkeys-=0#
-setlocal formatoptions-=t formatoptions+=croql
setlocal suffixesadd=.pde
setlocal commentstring=//\ %s
-let b:undo_ftplugin = "setlocal cin< cink< fo< sua< cms<"
+let b:undo_ftplugin = "setlocal sua< cms<"
" Run sketches from within vim
function! RunCurrentSketch()
View
10 indent/reprocessed.vim
@@ -0,0 +1,10 @@
+if (exists("b:did_indent"))
+ finish
+endif
+let b:did_indent = 1
+
+setlocal cindent
+setlocal cinkeys-=0#
+setlocal formatoptions-=t formatoptions+=croql
+let b:undo_indent = "setlocal cin< cink< fo<"
+

No commit comments for this range

Something went wrong with that request. Please try again.