Make linter treat `a.b` highlight group names as not correct

Ref #1216
This commit is contained in:
ZyX 2015-01-06 15:35:27 +03:00
parent 9d90552091
commit d8f030496a
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ args_spec = Spec(
pl=Spec().error('pl object must be set by powerline').optional(), pl=Spec().error('pl object must be set by powerline').optional(),
segment_info=Spec().error('Segment info dictionary must be set by powerline').optional(), segment_info=Spec().error('Segment info dictionary must be set by powerline').optional(),
).unknown_spec(Spec(), Spec()).optional().copy ).unknown_spec(Spec(), Spec()).optional().copy
highlight_group_spec = Spec().type(unicode).copy highlight_group_spec = Spec().ident().copy
segment_module_spec = Spec().type(unicode).func(check_segment_module).optional().copy segment_module_spec = Spec().type(unicode).func(check_segment_module).optional().copy
sub_segments_spec = Spec() sub_segments_spec = Spec()
exinclude_spec = Spec().re(function_name_re).func(check_exinclude_function).copy exinclude_spec = Spec().re(function_name_re).func(check_exinclude_function).copy