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