mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 11:08:53 +02:00
plugins/rust-tools: remove with lib and helpers
This commit is contained in:
parent
32969847d3
commit
876ca32451
4 changed files with 41 additions and 39 deletions
|
@ -109,7 +109,7 @@ let
|
|||
settings = cfg: { pylsp = cfg; };
|
||||
};
|
||||
rust_analyzer = {
|
||||
settingsOptions = import ./rust-analyzer-config.nix lib helpers;
|
||||
settingsOptions = import ./rust-analyzer-config.nix lib;
|
||||
settings = cfg: { rust-analyzer = cfg; };
|
||||
};
|
||||
ts_ls = {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# TODO: make all the types support raw lua
|
||||
lib: helpers:
|
||||
lib:
|
||||
let
|
||||
rustAnalyzerOptions = import ../../../generated/rust-analyzer.nix;
|
||||
|
||||
|
@ -60,7 +60,7 @@ let
|
|||
pluginDefault,
|
||||
type,
|
||||
}:
|
||||
helpers.defaultNullOpts.mkNullable' {
|
||||
lib.nixvim.defaultNullOpts.mkNullable' {
|
||||
inherit description pluginDefault;
|
||||
type = mkRustAnalyzerType type;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue