aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/php.vim
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2017-01-06 16:11:02 +0100
committerMarco Hinz <mh.codebro@gmail.com>2017-01-07 16:56:38 +0100
commit40c76741c187f5bf35101e65252226030d5b72e5 (patch)
treeefe3aecaa646ce416f3001c35bf3e3584f540caa /runtime/syntax/php.vim
parentb4c0c61f5caa22962ba94981dece4be8bf8a2c26 (diff)
downloadrneovim-40c76741c187f5bf35101e65252226030d5b72e5.tar.gz
rneovim-40c76741c187f5bf35101e65252226030d5b72e5.tar.bz2
rneovim-40c76741c187f5bf35101e65252226030d5b72e5.zip
health: refactor s:check_ruby()
I gone through every single line, renamed the variables to be more consistent and reordered many lines. Information is now printed as soon as it's available and errors lead to early returns. I altered the suggestions for each condition to be more precise and checked that they fail properly. This also prevents invalid arguments getting passed to s:version_cmp().
Diffstat (limited to 'runtime/syntax/php.vim')
0 files changed, 0 insertions, 0 deletions