diff options
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r-- | plugin/ale.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index 5f265c07..b8718076 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -20,8 +20,13 @@ else endif if !s:has_features - echoerr 'ALE requires NeoVim >= 0.1.5 or Vim 8 with +timers +job +channel' - echoerr 'Please update your editor appropriately.' + " Only output a warning if editing some special files. + if index(['', 'gitcommit'], &filetype) == -1 + echoerr 'ALE requires NeoVim >= 0.1.5 or Vim 8 with +timers +job +channel' + echoerr 'Please update your editor appropriately.' + endif + + " Stop here, as it won't work. finish endif |