mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: emphasise "Plugin default" to match nixpkgs
Nixpkg's "headings" are emphasised in italics ("Default", "Example", "Type", etc). We should match the style.
This commit is contained in:
parent
ade4539b3f
commit
b2a477260d
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ rec {
|
|||
# TODO deprecate this behavior so we can properly quote strings
|
||||
defaultString = if isString default then default else generators.toPretty { } default;
|
||||
defaultDesc =
|
||||
"Plugin default:"
|
||||
"_Plugin default:_"
|
||||
+ (
|
||||
# Detect whether `default` is multiline or inline:
|
||||
if hasInfix "\n" defaultString then "\n\n```nix\n${defaultString}\n```" else " `${defaultString}`"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue