diff --git a/syntax/eo.vim b/syntax/eo.vim index 29c3f04..9a30cc5 100644 --- a/syntax/eo.vim +++ b/syntax/eo.vim @@ -15,7 +15,7 @@ syn keyword eoClassBodyCommon legacy_prefix eo_prefix properties methods even syn keyword functionKeywords set get keys values params constructor destructor finalize virtual const return -syn match className "(\w\+\.)*\w\+" +syn match className "\(\w\+\.\)\+\w\+" syn match attributes "@\(inout\|out\|in\|class\|const\|extern\|protected\|constructor\|nonull\|warn_unused\|private\)" @@ -31,6 +31,7 @@ hi def link attributes Constant hi def link eo_comment Comment hi def link eoBoolean Boolean hi def link eoConstants Constant +hi def link className Identifier hi def link eoStructure Structure