mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/neotest: allow raw lua for quickfix.open
setting
This commit is contained in:
parent
00524c7935
commit
dce571fae5
2 changed files with 13 additions and 1 deletions
|
@ -180,7 +180,7 @@ in
|
|||
quickfix = {
|
||||
enabled = defaultNullOpts.mkBool true "Enable quickfix.";
|
||||
|
||||
open = defaultNullOpts.mkNullable (with types; either bool str) false ''
|
||||
open = defaultNullOpts.mkNullableWithRaw (with types; either bool str) false ''
|
||||
Set to true to open quickfix on startup, or a function to be called when the quickfix
|
||||
results are set.
|
||||
'';
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
example = {
|
||||
plugins.neotest = {
|
||||
settings = {
|
||||
quickfix.open.__raw = ''
|
||||
function()
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue