diff options
author | w0rp <devw0rp@gmail.com> | 2018-08-04 07:52:22 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-08-04 07:52:34 +0100 |
commit | 03973c0d0998dae638c26ed5be0cea6256ee38d6 (patch) | |
tree | 09dcfd7b17c7bf61e3e4524f3681e40861a81fd5 /plugin | |
parent | fa30d902219e631eeeda8e9a37cf66562e93cbb1 (diff) | |
download | ale-03973c0d0998dae638c26ed5be0cea6256ee38d6.zip |
Explicitly disable ALE for NeoVim versions below 0.2.0
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index f0f90b6b..ffb5da8a 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -14,7 +14,7 @@ let g:loaded_ale_dont_use_this_in_other_plugins_please = 1 " A flag for detecting if the required features are set. if has('nvim') - let s:has_features = has('timers') + let s:has_features = has('timers') && has('nvim-0.2.0') else " Check if Job and Channel functions are available, instead of the " features. This works better on old MacVim versions. @@ -24,7 +24,7 @@ endif if !s:has_features " Only output a warning if editing some special files. if index(['', 'gitcommit'], &filetype) == -1 - execute 'echoerr ''ALE requires NeoVim >= 0.1.5 or Vim 8 with +timers +job +channel''' + execute 'echoerr ''ALE requires NeoVim >= 0.2.0 or Vim 8 with +timers +job +channel''' execute 'echoerr ''Please update your editor appropriately.''' endif |