mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
* nvim-lsp: Add settings for rust-analyzer Because the settings are quite complex they are auto-generated. This commit adds the script creating it & the generated options. * Update flake.nix Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
509 B
509 B
Updating rust-analyzer options
Because there a large number of rust-analyzer options it's difficult to handle them by hand.
The options can be fetched from the rust-analyzer package.json.
There is a derivation on the top-level flake that allows to build it easily, you just have to run:
nix build .#rustAnalyzerOptions
You can then copy the result/share/rust-analyzer-config.nix
to the correct location.