#274 Don't emit the warning if ALE isn't working for git commits or blank files
This commit is contained in:
parent
f39e88cfa8
commit
810e420510
@ -20,8 +20,13 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if !s:has_features
|
if !s:has_features
|
||||||
|
" 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 'ALE requires NeoVim >= 0.1.5 or Vim 8 with +timers +job +channel'
|
||||||
echoerr 'Please update your editor appropriately.'
|
echoerr 'Please update your editor appropriately.'
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Stop here, as it won't work.
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user