singularity.lang


Ⅰ. 插件描述

xml syntax file for formatting Singularity recipes in gedit

Ⅱ. 基本信息

创建日期:  2018-05-09
使用用户:  5
Github星:  2
插件作者:  Container Tools

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/singularityware/singularity.lang

Ⅳ. 文档说明

# Singularity.lang

Welcome to the Singularity.lang repo! Here we will provide several syntax
highlighters for some of your favorite languages.

Each language has its own set of README instructions with corresponding
files in the subfolders linked above, and you can follow the instructions
to have the editor render your Singularity recipe files. For example,
here is the before and after shot for gedit.

Before Install

gedit/img/before-install.png

After Install

gedit/img/after-install.png

So beautiful!

Install

Installation means simply copying the file into the language-specs folder
that your gedit installation uses. For example:

1. Clone the Repository

git clone https://github.com/singularityhub/singularity.lang
cd singularity.lang

2. Move the syntax file

See the README in each subfolder for specific instructions! Generally the last
step of install is to move the file to some language spec folder of the software,
and then to restart the editor(s).

Contributing

If you are looking for the Atom syntax highlighter, see
language-singularity.
If you would like to add an editor, please open an issue or Pull Request if you
have an editor to contribute.

添加新评论