derekwyatt/vim-scala — pull request #73 by nathanalderson (2014-08-21 16:47:47+00:00)
Title: Fix indentation when virtualedit is off

after calling `setpos` to put the cursor at column 9999, if `virtualedit` is enabled, this will presumably be way past the last character, but if it is disabled, the cursor will be sitting *on* the last character (which is often a closing bracket/paren). Adding the 'c' flag to `searchpos` will tell it to accept a match under the cursor if it exists.