* 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>
* nvim-lsp: Allow to pass settings to clients
Some clients (like rust-analyzer, nil_ls, ...) can take settings
specified in the setup function. This commit adds two fields for the
'mkLsp' function to handle this:
- extraOptions: define nix module options
- settings: A function that takes the corresponding lsp module config
and formats it as a settings object compatible with the server.
* nvim-lsp: Add nil-ls (for Nix)
* nvim-lsp: Add bashls (for Bash)
* nvim-lsp: Add dartls, for dart
Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>