mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins/neotest: add more adapters
This commit is contained in:
parent
975f1ca526
commit
5004178c0c
6 changed files with 109 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
with lib; let
|
||||
supportedAdapters = import ./adapters-list.nix;
|
||||
|
||||
mkAdapter = name: props: {
|
||||
mkAdapter = name: {treesitter-parser}: {
|
||||
options.plugins.neotest.adapters.${name} = {
|
||||
enable = mkEnableOption name;
|
||||
|
||||
|
@ -30,7 +30,7 @@ with lib; let
|
|||
(!config.plugins.treesitter.enable)
|
||||
''
|
||||
Nixvim (plugins.neotest.adapters.${name}): This adapter requires `treesitter` to be enabled.
|
||||
You might want to set `plugins.treesitter.enable = true` and ensure that the `${props.treesitter-parser}` is enabled.
|
||||
You might want to set `plugins.treesitter.enable = true` and ensure that the `${props.treesitter-parser}` parser is enabled.
|
||||
'';
|
||||
|
||||
plugins.neotest.enabledAdapters = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue