Skip to content

Commit 591e889

Browse files
committed
fix(nvim): RubyLSP starts rubocop no matter what
Frankly, I'm soooo close to switch to solargraph...
1 parent 0e0de4f commit 591e889

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

.config/nvim/after/lsp/rubocop.lua

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
return {
2-
cmd_env = {
3-
RUBY_YJIT_ENABLE = "1",
4-
},
5-
62
init_options = {
73
addonSettings = {
84
["Ruby LSP Rails"] = {
95
enablePendingMigrationsPrompt = false,
106
},
117
},
128

13-
enabledFeatures = {
14-
diagnostics = false,
15-
formatting = false,
16-
},
17-
189
excludedGems = {
1910
"rubocop",
2011
},
@@ -26,8 +17,5 @@ return {
2617
"**/node_modules/**",
2718
"**/vendor/**",
2819
},
29-
30-
formatter = "none",
31-
linters = {},
3220
},
3321
}

.config/nvim/lua/plugins/lsp/lspconfig.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ return {
1818
-- Ruby LSP: `gem install ruby-lsp`
1919
vim.lsp.enable("ruby_lsp")
2020

21-
-- Rubycop LSP: `bundle add rubocop`
22-
vim.lsp.enable("rubocop")
23-
2421
-- Typescript LSP: `npm i -g typescript-language-server`
2522
vim.lsp.enable("ts_ls")
2623

0 commit comments

Comments
 (0)