vim-latte


Ⅰ. 插件描述

Vim syntax highlighter for Latte

Ⅱ. 基本信息

创建日期:  2012-03-11
使用用户:  5
Github星:  2
插件作者:  Martin Janiczek

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'janiczek/vim-latte'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'janiczek/vim-latte'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'janiczek/vim-latte'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/janiczek/vim-latte

Ⅳ. 文档说明

Latte syntax highlighter

Latte is an amazing template engine for Nette Framework (but usable standalone too).

Naturally it brings some new syntax elements to HTML & Co., and this is a Vim syntax plugin that encorporates them.

Things to change (maybe)

For now, the plugin doesn't check for errors like wrong number of arguments to macros like {link}. It probably should, but that's for future me to add.

If you want it and I seem to do nothing for a long time, poke me! Either on a forum thread (Czech dominant, but what the hell ;) ) or here, or send me a mail.

In case of feature requests the same things apply. Just give me a shout somewhere and that should be enough for things to start moving (again :) ).

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone https://github.com/janiczek/vim-latte.git

添加新评论