After putting up with this for a while I got aggravated enough to do 
something about it....

The Problem: title case is not done the way I want when starting from 
uppercase and having possessives.

start with this:
VIM'S SETTINGS

after selecting the line and hitting F5 I get:
Vim'S Settings

I would like to see the "S" after the apostrophe be lowercase also.

My Solution: I have gotten it working to my satisfaction by adding this 
line to cream-capitalization.vim in the title case section after fixing 
the last word again:

let @x = substitute(@x, "\\C\\w'\\zsS\\>", "s", "g")

There may be a better way to do it, I haven't really thought through 
what might be expected behavior in all cases; but this works for me.

More Explanation: I don't actually use Cream, but have found this 
particular plugin quite useful in my line of work. Installed version is 
2.4 from GitHub.

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to