aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/lspconfig/server_configurations/rubocop.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/lspconfig/server_configurations/rubocop.lua b/lua/lspconfig/server_configurations/rubocop.lua
index 0d494326..0d2cd29b 100644
--- a/lua/lspconfig/server_configurations/rubocop.lua
+++ b/lua/lspconfig/server_configurations/rubocop.lua
@@ -6,13 +6,6 @@ return {
filetypes = { 'ruby' },
root_dir = util.root_pattern('Gemfile', '.git'),
},
- on_new_config = function(config, root_dir)
- -- prepend 'bundle exec' to cmd if bundler is being used
- local gemfile_path = util.path.join(root_dir, 'Gemfile')
- if util.path.exists(gemfile_path) then
- config.cmd = { 'bundle', 'exec', unpack(config.cmd) }
- end
- end,
docs = {
description = [[
https://github.com/rubocop/rubocop