Skip to content

Commit

Permalink
Update Vim integration notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr committed Oct 17, 2012
1 parent 1224ea6 commit 12ea0f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ While there is no specific Vim integration at present, you can use
Scalariform as an external formatter for the ``gq`` command by adding
the following to ``.vimrc`` ::

au BufEnter *.scala setl formatprg=scala\ -cp\ /path/to/scalariform_2.8.0-0.1.3.jar\ scalariform.commandline.Main\ --forceOutput
au BufEnter *.scala setl formatprg=/path/to/scalariform.jar\ --stdin\ --stdout

The executable scalariform.jar can be downloaded from:

https://github.com/downloads/mdr/scalariform/scalariform.jar

Command line tool
-----------------
Expand Down

0 comments on commit 12ea0f8

Please sign in to comment.