aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-10-15 12:00:44 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-10-15 12:06:14 +0200
commit2a5a6a05411686da4d13ea467df15265727def68 (patch)
treec3c465fee4795eea758816ee7238ddc8f41dc0df /runtime/autoload
parentc4ab110e04e0f447b836e0d613690b24b02f5c24 (diff)
downloadrneovim-2a5a6a05411686da4d13ea467df15265727def68.tar.gz
rneovim-2a5a6a05411686da4d13ea467df15265727def68.tar.bz2
rneovim-2a5a6a05411686da4d13ea467df15265727def68.zip
health.vim: rename "suggestions" to "advice" in most places
Diffstat (limited to 'runtime/autoload')
-rw-r--r--runtime/autoload/health.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim
index a4d46953e2..d0ad7729ab 100644
--- a/runtime/autoload/health.vim
+++ b/runtime/autoload/health.vim
@@ -96,21 +96,21 @@ endfunction
" Format a message for a specific report item
function! s:format_report_message(status, msg, ...) abort " {{{
let output = ' - ' . a:status . ': ' . s:indent_after_line1(a:msg, 4)
- let suggestions = []
+ let advice = []
" Optional parameters
if a:0 > 0
- let suggestions = type(a:1) == type("") ? [a:1] : a:1
- if type(suggestions) != type([])
+ let advice = type(a:1) == type("") ? [a:1] : a:1
+ if type(advice) != type([])
throw "Expected String or List"
endif
endif
" Report each suggestion
- if len(suggestions) > 0
+ if len(advice) > 0
let output .= "\n - ADVICE:"
endif
- for suggestion in suggestions
+ for suggestion in advice
let output .= "\n - " . s:indent_after_line1(suggestion, 10)
endfor