Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show array value type for pluginchannels and pluginrepos #3617

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Show array value type for pluginchannels and pluginrepos
Since the options pluginchannels and pluginrepos can have arrays of values, this should be what is in the default values.

It's even more obvious with pluginrepos since two consecutives ticks don't render as an empty formatted, but just the normal 2 caracters.
antoine2711 authored Jan 19, 2025
commit 03e9ab593e21d623c63a1286026e6ac70ed4136a
4 changes: 2 additions & 2 deletions runtime/help/options.md
Original file line number Diff line number Diff line change
@@ -324,11 +324,11 @@ Here are the available options:
By default, this option points to the official plugin channel hosted on GitHub
at https://github.com/micro-editor/plugin-channel.

default value: `https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json`
default value: `[https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json]`

* `pluginrepos`: a list of links to plugin repositories.

default value: ``
default value: `[]`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not necessarily gonna be immediately obvious to the user what does this mean (even if the user is familiar with json array syntax), so maybe clarify it:

    default value: `[]` (empty list)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antoine2711:
The only other option with an empty value is backupdir, but it also has an explanation like this. The change is small, so would you still be interested to at least add the text only?


* `readonly`: when enabled, disallows edits to the buffer. It is recommended
to only ever set this option locally using `setlocal`.
Loading
Oops, something went wrong.