]> git.r.bdr.sh - rbdr/api-notation.vim/commitdiff
Adds namespace support
authorBen Beltran <redacted>
Fri, 3 Jul 2015 16:43:28 +0000 (11:43 -0500)
committerBen Beltran <redacted>
Fri, 3 Jul 2015 16:43:28 +0000 (11:43 -0500)
syntax/api-notation.vim

index 405fcd580cead50c771199fcf998115cbc6dc0d7..d2fc97a6861b3b38a3873fcd18d860755666f8d4 100644 (file)
@@ -7,7 +7,7 @@ if exists("b:current_syntax")
   finish
 endif
 
-syn match moduleName '^\w\+'
+syn match moduleName '^[\w\.]\+'
 
 syn match classMembers '^\s\+\(\(<+\)\|\(<\~\)\|\(<-\)\|\(+>\)\|\(\~>\)\|\(->\)\|-\|+\|\(::\)\|#\)' nextgroup=memberName skipwhite
 syn match internalOperators '\(\(<+\)\|\(<\~\)\|\(<-\)\|\(+>\)\|\(\~>\)\|\(->\)\|-\|+\|\(::\)\|#\)' contained nextgroup=memberName skipwhite