<commit_before># elm-vim

![logo](https://raw.github.com/elmcast/elm-vim/master/screenshots/logo.png)

## Features

1. Syntax highlighting
1. Automatic indentation
1. Function completion
1. Build and package commands
1. Code formatting and linting
1. Documentation lookup
1. REPL integration

Check out this [ElmCast video](https://vimeo.com/132107269) for more detail.

## Installation

If you don't have a preferred installation method, I recommend installing [vim-plug](https://github.com/junegunn/vim-plug), and then simply add `Plug 'elmcast/elm-vim'` to your plugin section:

Once help tags have been generated, you can view the manual with :help elm-vim.

### Requirements

First, make sure you have the [Elm Platform](http://elm-lang.org/install) installed. The simplest method to get started is to use the official [npm](https://www.npmjs.com/package/elm) package.

```
npm install -g elm
```

In order to run unit tests from within vim, install [elm-test](https://github.com/rtfeldman/node-elm-test)

```
npm install -g elm-test
```

For code completion and doc lookups, install [elm-oracle](https://github.com/elmcast/elm-oracle).

```
npm install -g elm-oracle<commit_msg>Add note about disabling vim-polyglot's elm plugin<commit_after># elm-vim

![logo](https://raw.github.com/elmcast/elm-vim/master/screenshots/logo.png)

## Features

1. Syntax highlighting
1. Automatic indentation
1. Function completion
1. Build and package commands
1. Code formatting and linting
1. Documentation lookup
1. REPL integration

Check out this [ElmCast video](https://vimeo.com/132107269) for more detail.

## Installation

If you don't have a preferred installation method, I recommend installing [vim-plug](https://github.com/junegunn/vim-plug), and then simply add `Plug 'elmcast/elm-vim'` to your plugin section:

*NOTE:* If you are using [vim-polyglot](https://github.com/sheerun/vim-polyglot), you need to disable its default elm plugin by adding `let g:polyglot_disabled = ['elm']` to your config file.

### Requirements

First, make sure you have the [Elm Platform](http://elm-lang.org/install) installed. The simplest method to get started is to use the official [npm](https://www.npmjs.com/package/elm) package.

```
npm install -g elm
```

In order to run unit tests from within vim, install [elm-test](https://github.com/rtfeldman/node-elm-test)

```
npm install -g elm-test
```

For code completion and doc lookups, install [elm-oracle](https://github.com/elmcast/elm-oracle).

```
npm install -g elm-oracle
{'fraction_non_alphanumeric': 0.12355979340484705, 'fraction_numerical': 0.012713547874453715, 'mean_word_length': 4.473913043478261, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1607791', 'n_tokens_mistral': 854, 'n_tokens_neox': 777, 'n_words': 270}