Tuesday, April 3, 2012

Re: Web Languages

Excerpts from Alessandro Antonello's message of Tue Apr 03 21:48:58 +0200 2012:
> Hi,
> I am wondering if someone has a good setup to work with PHP, HTML, CSS and
> Javascript?

PHP debugging: vim-addon-xdebug
indentation: Eventually don't mix HTML and PHP, use a template engine
(I personally prefer HAML).

Learn about exuberant ctags - without it PHP completion does only work
to some extend. usually "ctags -R ." is enough - there are plugins
regenerating tags on the fly.

Or try :set ft=html then do indentation and switch back (create a
mapping for it) or pipe through xmllint, or ..

About usage of syn: tcomment might serve as example.

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: