Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Twig: twiglint

LCD 47 edited this page Jun 12, 2016 · 6 revisions

This file is no longer maintained

This file exists only as a historic reference. Documentation for syntastic checkers is now included in the manual, please see :help syntastic-checkers in Vim.


Maintainer: Alexander iam.asm89@gmail.com

twig-lint is a lint tool for Twig templates. See the project's page at GitHub for details.

Vim and syntastic configuration

For the standalone executable, add the following to your ~/.vimrc file:

let g:syntastic_twig_twiglint_exec = 'php'
let g:syntastic_twig_twiglint_exe = 'php /path/to/twig-lint.phar'

For the composer dependency twig-lint must be in your $PATH. No further configuration is needed.

Clone this wiki locally