Ⅰ. 插件描述
Vim runtime files for F# (fsharp)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kongo2002/fsharp-vim-ours'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kongo2002/fsharp-vim-ours'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kongo2002/fsharp-vim-ours'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kongo2002/fsharp-vim
Ⅳ. 文档说明
Vim Runtime Files for F# (FSharp)
This runtime files are inspired by the original version of a fsharp syntax file
named fs.vim from [Choy
Rim](mailto:choy.rim@gmail.com) and a slightly [modified
version](https://github.com/DrTom/fsharp-vim) from [Thomas
Schank](mailto:ThomasSchank@gmail.com). The syntax file is now completely
rewritten.
This vim runtime files are especially helpful when editing F# files under
Linux/Mac. Under Windows I would recommend to use VisualStudio with the great
VsVim Plugin by Jared Parsons.
Installing
Using pathogen
- Install pathogen
- Move into your main vimfiles git repository
- Run
git submodule add git://github.com/kongo2002/fsharp-vim.git bundle/fsharp
Traditional install
Drop the contents into your ~/.vim directory as usual
Usage
Opening either *.fs, *.fsi or *.fsx files should trigger syntax
highlighting and other depending runtime files as well.