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?ds=sidebyside;hp=--cc Adds namespace support --- a729fe5a41f92c25b7ba22c734e714bf8a489cc0 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