summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-03-03 18:13:57 +0000
committerw0rp <devw0rp@gmail.com>2018-03-03 18:13:57 +0000
commit193a4b9336e8e108b1e936a5aedb252253688616 (patch)
treefea55590af02e2450fe82d3a414a607fca397f3c
parentf476c28b296ccd6322067756c5215707ee57f408 (diff)
downloadale-193a4b9336e8e108b1e936a5aedb252253688616.zip
Satisfy my own checks
-rw-r--r--autoload/ale/statusline.vim2
-rw-r--r--plugin/ale.vim8
2 files changed, 5 insertions, 5 deletions
diff --git a/autoload/ale/statusline.vim b/autoload/ale/statusline.vim
index adb35e7e..3f53368b 100644
--- a/autoload/ale/statusline.vim
+++ b/autoload/ale/statusline.vim
@@ -96,7 +96,7 @@ endfunction
" instead, or write your own status function with ale#statusline#Count()
function! ale#statusline#Status() abort
if !get(g:, 'ale_deprecation_ale_statusline_status', 0)
- echom 'ale#statusline#Status() is deprecated, use ale#statusline#Count() to write your own function.'
+ execute 'echom ''ale#statusline#Status() is deprecated, use ale#statusline#Count() to write your own function.'''
let g:ale_deprecation_ale_statusline_status = 1
endif
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 0ca76177..69c08496 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -33,8 +33,8 @@ if !s:has_features
endif
if has('nvim') && !has('nvim-0.2.0') && !get(g:, 'ale_use_deprecated_neovim')
- echom 'ALE support for NeoVim versions below 0.2.0 is deprecated.'
- echom 'Use `let g:ale_use_deprecated_neovim = 1` to silence this warning for now.'
+ execute 'echom ''ALE support for NeoVim versions below 0.2.0 is deprecated.'''
+ execute 'echom ''Use `let g:ale_use_deprecated_neovim = 1` to silence this warning for now.'''
endif
" This flag can be set to 0 to disable emitting conflict warnings.
@@ -304,7 +304,7 @@ augroup END
function! ALELint(delay) abort
if !get(g:, 'ale_deprecation_ale_lint', 0)
- echom 'ALELint() is deprecated, use ale#Queue() instead.'
+ execute 'echom ''ALELint() is deprecated, use ale#Queue() instead.'''
let g:ale_deprecation_ale_lint = 1
endif
@@ -313,7 +313,7 @@ endfunction
function! ALEGetStatusLine() abort
if !get(g:, 'ale_deprecation_ale_get_status_line', 0)
- echom 'ALEGetStatusLine() is deprecated.'
+ execute 'echom ''ALEGetStatusLine() is deprecated.'''
let g:ale_deprecation_ale_get_status_line = 1
endif