Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.43 KB

README.mkd

File metadata and controls

53 lines (31 loc) · 1.43 KB

Vim Syntax Highlighting for F# (FSharp)

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.

Installing

As a Git-submodule with Pathogen

  1. Install pathogen according to the given instructions.

  2. Presuming that .vim is your main git repository:

  3. change into .vim

  4. git submodule add [email protected]:DrTom/fsharp-vim.git bundle/fsharp

  5. commit the git parent project

  6. after optionally cloning the parent:

  7. do git submodule init

  8. and then git submodule update

Traditional Install.

Drop the contents into your ~/.vim directory as is.

Usage

Opening either *.fs or *.fsx should trigger syntax highlighting automatically.