You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any help would be appreciated.
it works for me
let g:clang_format#style_options = {
\ "BraceWrapping" : {"AfterClass":"true", "AfterControlStatement":"false", "AfterEnum":"true", "AfterFunction":"true", "AfterNamespace":"false", "AfterStruct":"true", "AfterUnion":"true", "BeforeCatch":"false", "BeforeElse":"false"},
\ "IncludeCategories" : [{"Regex":"^<..h>", "Priority":1},{"Regex":"^<.>", "Priority":20},{"Regex":".*", "Priority":3}],
\ "AccessModifierOffset" : -4,
...}
I'm not sure, but at least the \ does not work because it is in string literal. It should be double-escaped as "Regex: '^<.*\\>'" then it would be interpreted as Regex: '^<.*\>' correctly
I can't find any documentation on how to set a value like IncludeCategories. I've tried the following:
'IncludeCategories' : ["Regex: '^<.*\>'", "Priority: 1", "Regex: '.*'", "Priority: 2"]
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: