Skip to content

Commit cea04ec

Browse files
committed
add docs for disabling mix format integration
1 parent d2f54d5 commit cea04ec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ 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
46+
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+
```
53+
4554
## Development
4655

4756
To run the tests you can run `bundle exec rspec`

0 commit comments

Comments
 (0)