Skip to content

mxw/vim-xhp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

vim-xhp

Syntax highlighting and indenting for XHP. XHP is a PHP extension developed by Facebook which augments PHP with inline XML documents and custom XML elements.

Installation

Pathogen

The recommended installation method is via Pathogen. Then simply execute

cd ~/.vim/bundle
git clone https://github.com/mxw/vim-xhp.git

Manual Installation

If you have no ~/.vim/after directory, you can download a tarball or zip from GitHub and copy the contents to ~/.vim.

If you have existing ~/.vim/after files, copy the syntax and indent files directly into their respective destinations. If you have existing after syntax or indent files for PHP, you'll probably want to do something like

mkdir -p ~/.vim/after/syntax/php
cp path/to/vim-xhp/after/syntax/php.vim ~/.vim/after/syntax/php/xhp.vim
mkdir -p ~/.vim/after/indent/php
cp path/to/vim-xhp/after/indent/php.vim ~/.vim/after/indent/php/xhp.vim

About

XHP syntax highlighting and indenting for vim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published