This is a merge of the vim-included OCAML syntax files and the vim F# files from Choy Rim. I had some issues with the latter, and therefore this project exists at all.
The F# syntax highlighting is sufficient for the occasional hacking under Linux/Mac (for heavy .NET interaction I'd recommend VisualStudio with the VsVim Plugin). However, the highlighting is not perfect. I'm not an expert in vim syntax-highlighting nor do I have the resources to become one. Anybody more qualified then myself and willing to take over responsibility and maintain this package is welcome to do so.
-
Install pathogen according to the given instructions.
-
Presuming that
.vim
is your main git repository: -
change into
.vim
-
git submodule add git@github.com:DrTom/fsharp-vim.git bundle/fsharp
-
commit the git parent project
-
after optionally cloning the parent:
-
do
git submodule init
-
and then
git submodule update
Drop the contents into your ~/.vim
directory as is.
Opening either *.fs
or *.fsx
should trigger syntax highlighting
automatically.