'Function' syntax group now correctly configured
This commit is contained in:
parent
f335cd70a7
commit
15d305ab11
@ -62,6 +62,7 @@ ROOT_GROUPS = set([
|
||||
'Boolean',
|
||||
'Include',
|
||||
'Type',
|
||||
'Identifier',
|
||||
])
|
||||
|
||||
|
||||
@ -134,13 +135,15 @@ def _CreateInitialGroupMap():
|
||||
|
||||
statement_group = SyntaxGroup( 'Statement' )
|
||||
type_group = SyntaxGroup( 'Type' )
|
||||
identifier_group = SyntaxGroup( 'Identifier' )
|
||||
|
||||
# See `:h group-name` for details on how the initial group hierarchy is built
|
||||
group_name_to_group = {
|
||||
'Statement': statement_group,
|
||||
'Type': type_group,
|
||||
'Boolean': SyntaxGroup( 'Boolean' ),
|
||||
'Include': SyntaxGroup( 'Include' )
|
||||
'Include': SyntaxGroup( 'Include' ),
|
||||
'Identifier': identifier_group,
|
||||
}
|
||||
|
||||
AddToGroupMap( 'Conditional', statement_group )
|
||||
@ -149,12 +152,13 @@ def _CreateInitialGroupMap():
|
||||
AddToGroupMap( 'Operator' , statement_group )
|
||||
AddToGroupMap( 'Keyword' , statement_group )
|
||||
AddToGroupMap( 'Exception' , statement_group )
|
||||
AddToGroupMap( 'Function' , statement_group )
|
||||
|
||||
AddToGroupMap( 'StorageClass', type_group )
|
||||
AddToGroupMap( 'Structure' , type_group )
|
||||
AddToGroupMap( 'Typedef' , type_group )
|
||||
|
||||
AddToGroupMap( 'Function', identifier_group )
|
||||
|
||||
return group_name_to_group
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user