StanAngeloff / php.vim

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

Add php 7.1 types as a valid types #65

Closed Taluu closed 7 years ago

Taluu commented 7 years ago

I didn't add the support of nullable types (? prefix) because I am not sure if this was needed ; it is quite distinguishable, because it "pops" and I think it is a good thing, rather than registering it as a type. And also because my knowledge in vim coloration is limited too, and I didn't want to duplicate the types line with the ? as I think there is a prettier way to do that.

Some other things are probably missing though...

StanAngeloff commented 7 years ago

Excellent, thank you for adding these! I was missing them myself. :star: