Closed troycurtisjr closed 8 years ago
These options have been deprecated in favour of :AddStyle
You'll have to use it either from
after
plugin,
-> :AddStyle { \n{\n -prio=10 -ft=c
:AddStyle { -b \n{\n -prio=10 -ft=c
And I'll have to update the documentation.
BTW, I see a bug in lh-dev :AddStyle
, priority isn't updated if it has been forgotten the first time.
Ah! Excellent. I'll give it a go. Don't remember seeing that anywhere, but then again looking at your plugin made me think that maybe I don't actually know vim script after all. ;)
On Mon, Dec 14, 2015, 03:31 Luc Hermitte notifications@github.com wrote:
These options have been deprecated in favour of :AddStyle https://github.com/LucHermitte/lh-dev#formatting-of-brackets-characters You'll have to use it either from an after c or c++ ftplugin, or from a local_vimrc https://github.com/LucHermitte/local_vimrc
-> :AddStyle { -b \n{\n -prio=10 -ft=c
And I'll have to update the documentation. BTW, I see a bug in lh-dev :AddStyle, priority isn't updated if it has been forgotten the first time.
— Reply to this email directly or view it on GitHub https://github.com/LucHermitte/lh-cpp/issues/1#issuecomment-164388739.
It'll be hard to remember seeing that somewhere:
lh#dev#style#apply()
to see instances of AddStyle
in the source code.
I've been trying out your extensive plugin, but notice that no matter what value I set 'g:c_nl_before_curlyB' to, or where I put the setting, I always get:
if () { }
instead of my desired: if () { }
Thanks!