StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

phpDocParam does not include backslash #57

Closed mikehaertl closed 7 years ago

mikehaertl commented 8 years ago

I've tried your example from the README:

function! PhpSyntaxOverride()
  hi! def link phpDocTags  phpDefine
  hi! def link phpDocParam phpType
endfunction

augroup phpSyntaxOverride
  autocmd!
  autocmd FileType php call PhpSyntaxOverride()
augroup END

But it does not work right with namespaced parameter types:

vim-php-php-type

It seems like \ is not recognized as valid character here.