File tree Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -42,26 +42,14 @@ Plugin 'elixir-editors/vim-elixir'
42
42
Run [ ./manual_install.sh] ( manual_install.sh ) to copy the contents of each directory in the respective directories inside
43
43
` ~/.vim ` .
44
44
45
+ ## Disabling ` mix format ` Integration
45
46
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
+ ```
65
53
66
54
## Development
67
55
You can’t perform that action at this time.
0 commit comments