Skip to content

Commit b1b247e

Browse files
authored
Merge pull request #402 from elixir-editors/readme-tweaks
README tweaks
2 parents 94896fb + cea04ec commit b1b247e

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

README.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,14 @@ Plugin 'elixir-editors/vim-elixir'
4242
Run [./manual_install.sh](manual_install.sh) to copy the contents of each directory in the respective directories inside
4343
`~/.vim`.
4444

45+
## Disabling `mix format` Integration
4546

46-
## Syntastic integration
47-
48-
> :warning: **Warning:** older versions (`<= 3.4.0-106`) of
49-
> [Syntastic][syntastic] check Elixir scripts *by executing them*. In addition
50-
> to being unsafe, this can cause Vim to hang while saving Elixir scripts. This
51-
> is not an error in `vim-elixir`. This issue [can be fixed in
52-
> Syntastic][syntastic-issue-fix] by disabling Elixir checking by default.
53-
>
54-
> **If your version of Syntastic is below `3.4.0-107` (16 July 2014), you should
55-
> update to a newer version.**
56-
>
57-
> You can check your version by running `:echo g:_SYNTASTIC_VERSION`
58-
59-
[vim-plug]: https://github.com/junegunn/vim-plug
60-
[vundle]: https://github.com/VundleVim/Vundle.vim
61-
[neobundle]: https://github.com/Shougo/neobundle.vim
62-
[pathogen]: https://github.com/tpope/vim-pathogen
63-
[syntastic]: https://github.com/scrooloose/syntastic
64-
[syntastic-issue-fix]: https://github.com/scrooloose/syntastic/commit/1d19dff701524ebed90a4fbd7c7cd75ab954b79d
47+
`mix format` integration is supported by setting `formatprg`. If you wish to opt-out of this (e.g. you're running a version prior to Elixir 1.6)
48+
then you can do so by resetting this setting back to the default value in your `after` directory (e.g. `~/.vim/after/ftplugin/elixir.vim`):
49+
50+
```viml
51+
setlocal formatprg=
52+
```
6553

6654
## Development
6755

0 commit comments

Comments
 (0)