mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-07 10:51:36 +00:00
languages/rust: add rustaceanvim dependency rustfmt
See https://github.com/NotAShelf/nvf/pull/914 for more details.
This commit is contained in:
parent
d3a0e7029a
commit
31eafa05b2
2 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,7 @@ in {
|
|||
(mkIf (cfg.lsp.enable || cfg.dap.enable) {
|
||||
vim = {
|
||||
startPlugins = ["rustaceanvim"];
|
||||
|
||||
extraPackages = [pkgs.rustfmt];
|
||||
pluginRC.rustaceanvim = entryAfter ["lsp-setup"] ''
|
||||
vim.g.rustaceanvim = {
|
||||
${optionalString cfg.lsp.enable ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue