Skip to content

Commit

Permalink
Merge pull request #25 from crazymaster/doc
Browse files Browse the repository at this point in the history
Add missing doc
  • Loading branch information
sophacles committed Oct 1, 2014
2 parents 2c46153 + 3714817 commit 5a31cce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -10,10 +10,10 @@ Development version of [vim script #2115](http://www.vim.org/scripts/script.php?

3. Integrates with Vim's compiler support. Sketches can be run directly from Vim using the `:make` command. They are run via the `processing-java` command. This tool is used to run sketches outside of the Processing editor, and is supplied with Processing itself. Make sure `processing-java` is in your `PATH` before trying to run it from vim-processing.

*(MacOSX users will need to install the processing-java command from the Processing IDE before using this functionality)*
*(MacOSX users will need to install the processing-java command from the Processing IDE before using this functionality)*

4. Folding can be enabled by defining "processing_fold"
let processing_fold = 1
4. Folding can be enabled by defining "g:processing_fold".
`:let g:processing_fold = 1`

For more usage information See `:help processing-intro`.

Expand Down
14 changes: 8 additions & 6 deletions doc/processing.txt
Expand Up @@ -68,14 +68,16 @@ K *processing-doc*
VARIABLES *processing-variables*

g:processing_doc_style *g:processing_doc_style*
Can be set to 'local' or 'web' . 'web' will point the browser at the
online documentation for processing when the K command is used.
'local' will point the browser to the documentation directory in
|g:processing_doc_path|
Can be set to 'local' or 'web' . 'web' will point the browser at the
online documentation for processing when the K command is used.
'local' will point the browser to the documentation directory in
|g:processing_doc_path|

g:processing_doc_path *g:processing_doc_path*
The base path for a local installation of the processing
documentation.
The base path for a local installation of the processing documentation.

g:processing_fold *g:processing_fold*
This will set the 'foldmethod' option to "syntax".

g:use_processing_applescript *g:use_processing_applescript*
If this is set to true, processing-vim will use the older version of
Expand Down
2 changes: 1 addition & 1 deletion ftplugin/processing.vim
Expand Up @@ -15,7 +15,7 @@ setlocal expandtab
setlocal shiftwidth=2
setlocal tabstop=2

if has("folding") && exists("processing_fold")
if has("folding") && exists("g:processing_fold")
setlocal fdm=syntax
endif

Expand Down

0 comments on commit 5a31cce

Please sign in to comment.