mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 15:07:48 +00:00
Remove comment and use bumdler executable
This commit is contained in:
parent
adf027b154
commit
793fee7f35
1 changed files with 1 additions and 2 deletions
|
|
@ -6,7 +6,6 @@
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with builtins; let
|
with builtins; let
|
||||||
#format-env = pkgs.callPackage ./format-derivation.nix {inherit pkgs;};
|
|
||||||
cfg = config.vim.languages.ruby;
|
cfg = config.vim.languages.ruby;
|
||||||
|
|
||||||
defaultServer = "rubocop";
|
defaultServer = "rubocop";
|
||||||
|
|
@ -28,7 +27,7 @@ with builtins; let
|
||||||
lspConfig = ''
|
lspConfig = ''
|
||||||
lspconfig.rubocop.setup {
|
lspconfig.rubocop.setup {
|
||||||
on_attach = attach_keymaps,
|
on_attach = attach_keymaps,
|
||||||
cmd = { "rubocop", "--lsp" },
|
cmd = { "${cfg.lsp.package}/bin/bundle", "exec", "rubocop", "--lsp" },
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue