Home

Awesome

vim-elm-syntax (deprecated in favour of Vim)

vim-elm-syntax only provides syntax highlighting. Other functionality (like compiling code) is provided by elm-language-server.

Important: Elm Syntax is included in Vim

Starting with Vim 8.2 patch 929 Elm syntax is part of Vim. No need to install this plugin. If you use an older version you can still use this plugin.

Neovim support

Elm Syntax is also part of neovim.

https://github.com/neovim/neovim/pull/13718


Features

  1. Syntax highlighting
  2. Automatic indentation

Missing features

Compiling, linting, formatting and other features aren't included in this plugin. Have a look at elm-tooling/elm-vim for general instructions how to setup Vim with Elm.

Installation

Note about vim-polyglot

If you are using vim-polyglot, you need to disable its default elm plugin by adding let g:polyglot_disabled = ['elm'] to your config file.

Credits

This repository is a fork of ElmCast/elm-vim. All credits go to the authors of this repository.

License

Copyright © Joseph Hager. See LICENSE for more details.