mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-03 13:54:29 +02:00
plugins/utils: normalize plugin defaults
This commit is contained in:
parent
b10a391bd0
commit
6ab2a39e6a
53 changed files with 1434 additions and 1221 deletions
|
@ -178,7 +178,7 @@ in
|
|||
The command to use to start the ollama server.
|
||||
'';
|
||||
|
||||
args = helpers.defaultNullOpts.mkListOf types.str ''["serve"]'' ''
|
||||
args = helpers.defaultNullOpts.mkListOf types.str [ "serve" ] ''
|
||||
The arguments to pass to the serve command.
|
||||
'';
|
||||
|
||||
|
@ -186,9 +186,15 @@ in
|
|||
The command to use to stop the ollama server.
|
||||
'';
|
||||
|
||||
stopArgs = helpers.defaultNullOpts.mkListOf types.str ''["-SIGTERM" "ollama"]'' ''
|
||||
The arguments to pass to the stop command.
|
||||
'';
|
||||
stopArgs =
|
||||
helpers.defaultNullOpts.mkListOf types.str
|
||||
[
|
||||
"-SIGTERM"
|
||||
"ollama"
|
||||
]
|
||||
''
|
||||
The arguments to pass to the stop command.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue