Last active
June 28, 2023 15:08
-
-
Save ybiquitous/43388edf464f56ef7f650a2b21553b90 to your computer and use it in GitHub Desktop.
lsp-mode configuration for RuboCop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-eval-after-load 'lsp-mode | |
(lsp-register-client | |
(make-lsp-client :new-connection (lsp-stdio-connection '("bundle" "exec" "rubocop" "--lsp")) | |
:activation-fn (lsp-activate-on "ruby") | |
:add-on? t | |
:server-id 'rubocop-ls))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An example in
.dir-locals.el