derekwyatt/vim-scala — pull request #70 by nathanalderson (2014-08-18 21:21:00+00:00)
Title: Improve indentation

This pull request addresses two issues with indentation:

* Those related to issue #29. These were fixed by adding the 'c' flag to ``searchpos()`` calls after calls to ``setpos()`` with a column of 9999. This should work whether ``virtualedit`` is enabled or disabled. See ``help search``.
* An issue I discovered in which lines with multiple string literals cause problems. This was due to greedy match operators in some regular expressions which could gobble up brackets/parens found between string literals. Regex's were fixed and a line added to ``testfile.scala`` to verify.