forked from aniani/vim
updated for version 7.3.179
Problem: C-indent doesn't handle colon in string correctly. Solution: Skip the string. (Lech Lorens)
This commit is contained in:
@@ -5801,7 +5801,9 @@ cin_is_cpp_baseclass(col)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (s[0] == ':')
|
||||
if (s[0] == '"')
|
||||
s = skip_string(s) + 1;
|
||||
else if (s[0] == ':')
|
||||
{
|
||||
if (s[1] == ':')
|
||||
{
|
||||
|
Reference in New Issue
Block a user