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
.
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.
- https://github.com/vim/vim/blob/master/runtime/ftplugin/elm.vim
- https://github.com/vim/vim/blob/master/runtime/syntax/elm.vim
Elm Syntax is also part of neovim.
- Syntax highlighting
- Automatic indentation
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.
- Vim-Plug (recommended):
Plug 'andys8/vim-elm-syntax'
and run:PlugInstall
- Vundle:
Plugin 'andys8/vim-elm-syntax'
- NeoBundle:
NeoBundle 'andys8/vim-elm-syntax'
- Pathogen:
cd ~/.vim/bundle && git clone https://github.com/andys8/vim-elm-syntax
- Vim 8+:
git clone --depth 1 https://github.com/andys8/vim-elm-syntax.git ~/.vim/pack/git-plugins/start/vim-elm-syntax
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.
This repository is a fork of ElmCast/elm-vim
.
All credits go to the authors of this repository.
- Joseph Hager
- Contributors of elm-vim
- Other vim-plugins, thanks for inspiration (elm.vim, ocaml.vim, haskell-vim)
Copyright © Joseph Hager. See LICENSE
for more details.