aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2018-02-22 02:30:39 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-02-22 02:30:39 +0100
commitc8074e3792727a378cf8510a347ac6b784b210c8 (patch)
treed24c96952b420b617cf1b0c98fcc6530c0ea9d6a
parent4a8f0819715c0c355fba6f61304fd44fb4650d55 (diff)
downloadrneovim-c8074e3792727a378cf8510a347ac6b784b210c8.tar.gz
rneovim-c8074e3792727a378cf8510a347ac6b784b210c8.tar.bz2
rneovim-c8074e3792727a378cf8510a347ac6b784b210c8.zip
runtime/autoload/health/*.vim: fix vint warning (#8048)
-rw-r--r--runtime/autoload/health/nvim.vim8
-rw-r--r--runtime/autoload/health/provider.vim2
2 files changed, 5 insertions, 5 deletions
diff --git a/runtime/autoload/health/nvim.vim b/runtime/autoload/health/nvim.vim
index 017c047ef4..d09a714719 100644
--- a/runtime/autoload/health/nvim.vim
+++ b/runtime/autoload/health/nvim.vim
@@ -7,12 +7,12 @@ function! s:check_config() abort
" If $VIM is empty we don't care. Else make sure it is valid.
if !empty($VIM) && !filereadable($VIM.'/runtime/doc/nvim.txt')
let ok = v:false
- call health#report_error("$VIM is invalid: ".$VIM)
+ call health#report_error('$VIM is invalid: '.$VIM)
endif
if exists('$NVIM_TUI_ENABLE_CURSOR_SHAPE')
let ok = v:false
- call health#report_warn("$NVIM_TUI_ENABLE_CURSOR_SHAPE is ignored in Nvim 0.2+",
+ call health#report_warn('$NVIM_TUI_ENABLE_CURSOR_SHAPE is ignored in Nvim 0.2+',
\ [ "Use the 'guicursor' option to configure cursor shape. :help 'guicursor'",
\ 'https://github.com/neovim/neovim/wiki/Following-HEAD#20170402' ])
endif
@@ -100,8 +100,8 @@ function! s:check_performance() abort
else
call health#report_info(buildtype)
call health#report_warn(
- \ "Non-optimized build-type. Nvim will be slower.",
- \ ["Install a different Nvim package, or rebuild with `CMAKE_BUILD_TYPE=RelWithDebInfo`.",
+ \ 'Non-optimized build-type. Nvim will be slower.',
+ \ ['Install a different Nvim package, or rebuild with `CMAKE_BUILD_TYPE=RelWithDebInfo`.',
\ s:suggest_faq])
endif
endfunction
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index 073dcf92a8..e5daa0a4cc 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -457,7 +457,7 @@ function! s:check_ruby() abort
let host = provider#ruby#Detect()
if empty(host)
- call health#report_warn("`neovim-ruby-host` not found.",
+ call health#report_warn('`neovim-ruby-host` not found.',
\ ['Run `gem install neovim` to ensure the neovim RubyGem is installed.',
\ 'Run `gem environment` to ensure the gem bin directory is in $PATH.',
\ 'If you are using rvm/rbenv/chruby, try "rehashing".',