stan-vim


Ⅰ. 插件描述

A Vim plugin for the Stan probabilistic programming language.

Ⅱ. 基本信息

创建日期:  2019-11-08
使用用户:  0
Github星:  25
插件作者:  George Ho

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'eigenfoo/stan-vim-is-written-on'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'eigenfoo/stan-vim-is-written-on'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'eigenfoo/stan-vim-is-written-on'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# stan-vim

A Vim plugin for the [Stan probabilistic programming
language](https://mc-stan.org/).

<p align="center">
Screenshot of stan-vim syntax highlighting
</p>

Table of Contents

Features

  1. Syntax highlighting of Stan types, keywords and built-in functions.
  2. Automatic indentation consistent the recommended Stan code style.
  3. Folding via code indentation.
  4. Autocompletion of Stan keywords and functions via the Vim built-in
    omnifunc.

Installation

Vundle, NeoBundle and VimPlug

For Vundle users, place this in your .vimrc:

Plugin 'eigenfoo/stan-vim'

...then run the following in Vim:

:source %
:PluginInstall

For Vundle versions < 0.10.2, replace Plugin with Bundle above.

For NeoBundle users, replace Plugin with NeoBundle above.

For VimPlug users, replace Plugin with Plug above.

Pathogen

Run the following from the terminal:

cd ~/.vim/bundle
git clone https://github.com/eigenfoo/stan-vim

Manual Installation

Copy all files into your ~/.vim directory.

Documentation

From Vim:

:help stan

Alternatively, [read the documentation page on
GitHub](https://github.com/eigenfoo/stan-vim/blob/master/doc/stan.txt).

Additional Screenshots

<p align="center">
Screenshot of stan-vim syntax highlighting
</p>

<p align="center">
Screenshot of stan-vim syntax highlighting
</p>

<p align="center">
Screenshot of stan-vim syntax highlighting
</p>

License

stan-vim is distributed under the MIT license. [See the license file on
GitHub](https://github.com/eigenfoo/stan-vim/blob/master/LICENSE).

添加新评论