summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2022-04-01 14:35:07 +0100
committerw0rp <devw0rp@gmail.com>2022-04-01 14:35:07 +0100
commitd3df00b89803f1891a772c47fc8eda6a1e9e1baa (patch)
treebe1b852b1e06925be3e06711475d0d663603230b /plugin
parentb3d1d6eecfb5eb08787501294979dc6ba2426c35 (diff)
downloadale-d3df00b89803f1891a772c47fc8eda6a1e9e1baa.zip
Fix test for echoing messages
The previous linter rule about stray echo lines has been restored, and now all problems for custom linting rules can be ignored by adding a comment above problem lines.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 2b3886aa..fb016651 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -24,8 +24,10 @@ 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.2.0 or Vim 8 with +timers +job +channel'''
- execute 'echoerr ''Please update your editor appropriately.'''
+ " no-custom-checks
+ echoerr 'ALE requires NeoVim >= 0.2.0 or Vim 8 with +timers +job +channel'
+ " no-custom-checks
+ echoerr 'Please update your editor appropriately.'
endif
" Stop here, as it won't work.