Set up your editor for Unison

This document is a collection of user-submitted instructions for setting up a text editor for Unison development.

LSP Integration

As of UCM version M4a, the UCM supports the Language Server Protocol. Features like in-editor error reporting, show-type-on-hover, and autocompletion are implemented, with more to come! Instructions for installing the UCM with LSP supportare available here



  1. Installvim-plugif you haven't already.
  2. Add the following to your .vimrc:
Plug 'unisonweb/unison', { 'branch': 'trunk', 'rtp': 'editor-support/vim' }
  1. Issue the vim command:PlugInstall.

For more information run:help unisonfrom within vim or view theonline help doc.


From the console, run:

apm install unisonweb/atom-unison

VS Code

  1. Install theUnison extension for VS Code