Ⅰ. 插件描述
automatic syntax highlighting for taskjuggler (based on original taskjuggler syntax-file)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'maxmeyer/vim-taskjuggler'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'maxmeyer/vim-taskjuggler'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'maxmeyer/vim-taskjuggler'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/maxmeyer/vim-taskjuggler
Ⅳ. 文档说明
vim-tjp(1) -- vim syntax highlighting for taskjuggler 3
DESCRIPTION
This repository contains all files need to automatically highlight
TaskJuggler-files. The detection is based on the file-suffix: .tjp,
.taskjuggler, .tj3.
This repository comes with a script which fetches the syntax file from
the taskjuggler-repository (https://github.com/taskjuggler/TaskJuggler). It's
not included in this git-repo.
By default the setup.rb-script installs the vim-extension to~/.vim/bundle.available/vim-taskjuggler. If you might wonder why I did it
that way, please look at https://github.com/tpope/vim-pathogen. This plugin
enables you to have one directory per vim-extension.
DEPENDENCIES
I use different rubygems to get that thing running.
- Bundler (http://gembundler.com/)
- Thor (https://github.com/wycats/thor)
- Open4 (https://github.com/ahoward/open4)
USAGE
git clone <repo>
cd <repo>
bundle install
./setup.rb install gem
./setup.rb install extension
./setup.rb install syntax_file If you prefer another path to install the extension please tell the script
about it (not tested yet).
./setup.rb install extension <path_to_extension>
./setup.rb install syntax_file <path_to_extension>Files
ftdetect/tjp.vim: Detect the filetypeftplugin/tjp.vim: Setting options for the taskjuggler-languagesyntax/tjp.vim: Syntax filesetup.rb: Installer-script
Support
Please drop me a message via github if you experience any problems.