plugins/none-ls: refactor mkRaw

- Allow passing raw types through mkRaw
- Throw an error when passing invalid input into mkRaw
This commit is contained in:
Matt Sturgeon 2024-06-16 22:52:14 +01:00
parent 6ac0d2869d
commit 69e43a6bf9
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 16 additions and 3 deletions

View file

@ -7,7 +7,7 @@
let
nixvimBuilders = import ./builders.nix { inherit lib pkgs; };
nixvimTypes = import ./types.nix { inherit lib nixvimOptions; };
nixvimUtils = import ./utils.nix { inherit lib _nixvimTests; };
nixvimUtils = import ./utils.nix { inherit lib nixvimTypes _nixvimTests; };
nixvimOptions = import ./options.nix { inherit lib nixvimTypes nixvimUtils; };
inherit (import ./to-lua.nix { inherit lib; }) toLuaObject;
in