Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Php7 syntax support #52

Closed
hoenirvili opened this issue Feb 25, 2016 · 4 comments
Closed

Php7 syntax support #52

hoenirvili opened this issue Feb 25, 2016 · 4 comments

Comments

@hoenirvili
Copy link

When you will add php7 support syntax?

@StanAngeloff
Copy link
Owner

What are you missing? Do you have any example files with bad highlighting?

@hoenirvili
Copy link
Author

Sorry didn't know that it supports also 7.0 implicitly.
" syntax/php.vim
" Language: PHP 5.3 & up

Btw I'm having a little trouble installing it. I run the php generator I added both php.vim and the output.vim in syntax dir from my vim and I'm getting this error.

"/srv/http/cn/ajax/ajax.php" [noeol] 28L, 767C                                                                                                                               
Error detected while processing /home/hoenir/.config/nvim/syntax/php.vim:                                                                                                    
line   63:                                                                                                                                                                   
E108: No such variable: "b:current_syntax"    

@StanAngeloff
Copy link
Owner

See #50 seems like it's more widespread than I thought.

@Taluu
Copy link

Taluu commented Jun 7, 2016

Hello,

There is something from php7 that does not seem to be supported, it's the yield from generator(). The from is not colored, but it doesn't really matter. :D

I didn't try the new features though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants