andys8 / vim-elm-syntax

Elm plugin for syntax. Only necessary if Vim is older than 8.2 patch 929

Home Page:https://github.com/vim/vim/blob/master/runtime/syntax/elm.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

neovim/neovim#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

  • 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

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.

  • Joseph Hager
  • Contributors of elm-vim
  • Other vim-plugins, thanks for inspiration (elm.vim, ocaml.vim, haskell-vim)

License

Copyright © Joseph Hager. See LICENSE for more details.

About

Elm plugin for syntax. Only necessary if Vim is older than 8.2 patch 929

https://github.com/vim/vim/blob/master/runtime/syntax/elm.vim

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Vim Script 100.0%