Skip to content

Up-to-date PHP syntax file (5.3, 5.4 & 5.5 support; basic 5.6 support)

Notifications You must be signed in to change notification settings

bedomon/php.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php.vim

This project is a fork of php.vim--Garvin which in turn is an update of the php.vim script which in turn is an updated version of the php.vim syntax file distributed with Vim. Whew!

👉 Accepting pull requests for PHP 5.6 new features. 👈

Configuration

  • g:php_syntax_extensions_enabled, g:php_syntax_extensions_disabled
    b:php_syntax_extensions_enabled, b:php_syntax_extensions_disabled

    A list of extension names (lowercase) for which built-in functions, constants, classes and interfaces is enabled / disabled.

Updating

The project comes with a Dockerfile which can be used to rebuild the syntax file.

docker build -t stanangeloff/php.vim .
docker run -i -t stanangeloff/php.vim scripts/update-vim-syntax.php | sed 's/\x0D$//' > syntax/php.vim

About

Up-to-date PHP syntax file (5.3, 5.4 & 5.5 support; basic 5.6 support)

Resources

Stars

Watchers

Forks

Packages

No packages published