mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +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
|
@ -363,6 +363,7 @@
|
|||
- Add the `vim.languages.dart.flutter-tools.flutterPackage` option.
|
||||
- Fix the type of the `highlight` color options.
|
||||
- Add [vim-sleuth] plugin under `vim.utility.sleuth`.
|
||||
- Add missing `rustaceanvim` dependency `rustfmt`.
|
||||
|
||||
[howird](https://github.com/howird):
|
||||
|
||||
|
|
|
@ -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