From: Ben Beltran Date: Fri, 3 Jul 2015 16:43:28 +0000 (-0500) Subject: Adds namespace support X-Git-Url: https://git.r.bdr.sh/rbdr/api-notation.vim/commitdiff_plain/a729fe5a41f92c25b7ba22c734e714bf8a489cc0?hp=d047e0072903bfccf7f06ecf2fe19a17110c11cc Adds namespace support --- diff --git a/syntax/api-notation.vim b/syntax/api-notation.vim index 405fcd5..d2fc97a 100644 --- a/syntax/api-notation.vim +++ b/syntax/api-notation.vim @@ -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