home: fix rubocop for zed
This commit is contained in:
@@ -53,7 +53,7 @@ in
|
|||||||
Ruby = {
|
Ruby = {
|
||||||
language_servers = [
|
language_servers = [
|
||||||
"ruby-lsp"
|
"ruby-lsp"
|
||||||
"!rubocop"
|
"rubocop"
|
||||||
"!solargraph"
|
"!solargraph"
|
||||||
];
|
];
|
||||||
formatter.external = {
|
formatter.external = {
|
||||||
@@ -89,6 +89,16 @@ in
|
|||||||
nixd.binary.path = lib.getExe nixd;
|
nixd.binary.path = lib.getExe nixd;
|
||||||
nil.binary.path = lib.getExe nil;
|
nil.binary.path = lib.getExe nil;
|
||||||
ruby-lsp.binary.path = lib.getExe ruby-lsp;
|
ruby-lsp.binary.path = lib.getExe ruby-lsp;
|
||||||
|
rubocop = {
|
||||||
|
binary = {
|
||||||
|
path = "bundle";
|
||||||
|
arguments = [
|
||||||
|
"exec"
|
||||||
|
"rubocop"
|
||||||
|
"--lsp"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
yaml-language-server.binary = {
|
yaml-language-server.binary = {
|
||||||
path = lib.getExe yaml-language-server;
|
path = lib.getExe yaml-language-server;
|
||||||
arguments = [ "--stdio" ];
|
arguments = [ "--stdio" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user