diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2017-05-03 21:04:01 +0200 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2017-05-03 22:24:51 +0200 |
commit | 2b3cb2c448f9a7ce6132d2d0423c0d1cf627a0d3 (patch) | |
tree | 33f71d71cdd0a5a92f0552a68cac4a29b6c9ac7c /test/functional/lua/api_spec.lua | |
parent | 53b38251bb0bfdb1d002b09001417e708d85e422 (diff) | |
download | rneovim-2b3cb2c448f9a7ce6132d2d0423c0d1cf627a0d3.tar.gz rneovim-2b3cb2c448f9a7ce6132d2d0423c0d1cf627a0d3.tar.bz2 rneovim-2b3cb2c448f9a7ce6132d2d0423c0d1cf627a0d3.zip |
Make script_host.rb rubocop-clean
Fix the following issues according to rubocop:
runtime/autoload/provider/script_host.rb:2:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "neovim/ruby_provider"
^^^^^^^^^^^^^^^^^^^^^^
runtime/autoload/provider/script_host.rb:5:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"Your neovim RubyGem is missing or out of date. " +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
runtime/autoload/provider/script_host.rb:5:55: C: Use \ instead of + or << to concatenate those strings.
"Your neovim RubyGem is missing or out of date. " +
runtime/autoload/provider/script_host.rb:6:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"Install the latest version using `gem install neovim`."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This commit assumes Ruby 2.0.0+.
Diffstat (limited to 'test/functional/lua/api_spec.lua')
0 files changed, 0 insertions, 0 deletions