summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2023-09-07 19:59:05 +0100
committerw0rp <devw0rp@gmail.com>2023-09-07 20:01:31 +0100
commit108e858d61bcd5962ca404f12d8b56e5986739c1 (patch)
tree266b52b16b9c9ba239f0080a609c9d7e6ba1f675 /plugin
parent14350dbb0d265ef87d1c7d420d89fb4165a2b131 (diff)
downloadale-108e858d61bcd5962ca404f12d8b56e5986739c1.zip
Update minimum supported NeoVim version to 0.6.0
Stop officially supporting NeoVim versions below 0.6.0, without necessarily breaking ALE for people using older versions.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index e239f233..7eccdb5f 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -14,6 +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')
+ " We check for NeoVim 0.2.0+, but we only officially support NeoVim 0.6.0
let s:has_features = has('timers') && has('nvim-0.2.0')
else
" Check if Job and Channel functions are available, instead of the
@@ -25,7 +26,7 @@ if !s:has_features
" Only output a warning if editing some special files.
if index(['', 'gitcommit'], &filetype) == -1
" no-custom-checks
- echoerr 'ALE requires NeoVim >= 0.2.0 or Vim 8 with +timers +job +channel'
+ echoerr 'ALE requires NeoVim >= 0.6.0 or Vim 8 with +timers +job +channel'
" no-custom-checks
echoerr 'Please update your editor appropriately.'
endif