docs: clean up descriptions (#1061)

This commit is contained in:
Gabriel Arazas 2024-02-11 12:51:34 +00:00 committed by GitHub
parent 40ede678d2
commit 0b5800a2a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 27 additions and 27 deletions

View file

@ -2,7 +2,7 @@
mkServer = {
name,
sourceType,
description ? "${name} source, for none-ls.",
description ? "${name} built-in source for none-ls",
package ? null,
extraPackages ? [],
...
@ -25,7 +25,7 @@
package = mkOption {
type = types.package;
default = package;
description = "Package to use for ${name} by none-ls";
description = "Package to use for ${name} by none-ls.";
};
};
in {
@ -37,7 +37,7 @@
withArgs = mkOption {
default = null;
type = with types; nullOr str;
description = ''Raw Lua code to be called with the with function'';
description = ''Raw Lua code passed as an argument to the source's `with` method.'';
# Not sure that it makes sense to have the same example for all servers
# example = ''
# '\'{ extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" } }'\'