diff options
| author | William Boman <william@redwill.se> | 2022-09-07 02:20:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-07 02:20:48 +0200 |
| commit | 2fa0fd4bb13cb9060c8aae9296d53e6397245e9f (patch) | |
| tree | 3fb8459717b47da288312b9b49f12496671506eb /lua | |
| parent | chore: update generated code (#384) (diff) | |
| download | mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.tar mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.tar.gz mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.tar.bz2 mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.tar.lz mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.tar.xz mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.tar.zst mason-2fa0fd4bb13cb9060c8aae9296d53e6397245e9f.zip | |
feat(ui): add more content to help screen (#386)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/mason/ui/components/help/init.lua | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/lua/mason/ui/components/help/init.lua b/lua/mason/ui/components/help/init.lua index b8412ee2..27307dce 100644 --- a/lua/mason/ui/components/help/init.lua +++ b/lua/mason/ui/components/help/init.lua @@ -80,7 +80,7 @@ local function GenericHelp(state) )), Ui.EmptyLine(), Ui.HlTextNode { - { p.Bold "Problems installing/uninstalling packages" }, + { p.Bold "Problems installing packages" }, { p.muted "Make sure you meet the minimum requirements to install packages. For debugging, refer to:", }, @@ -98,18 +98,34 @@ local function GenericHelp(state) Ui.EmptyLine(), Ui.HlTextNode { { p.Bold "Problems with package functionality" }, + { p.muted "Please refer to each package's own homepage for further assistance." }, + }, + Ui.EmptyLine(), + Ui.HlTextNode { + { p.Bold "How do I use installed packages?" }, + { p.muted "Mason only makes packages available for use. It does not automatically integrate" }, + { p.muted "these into Neovim. You have multiple different options for using any given" }, { - p.muted "Please refer to each package's own homepage for further assistance.", + p.muted "package, and you are free to pick and choose as you see fit. See ", + p.highlight ":h mason-how-to", }, + { p.muted "for a recommendation." }, }, Ui.EmptyLine(), Ui.HlTextNode { { p.Bold "Missing a package?" }, - { - p.muted "Create an issue at ", - p.highlight "https://github.com/williamboman/mason.nvim/issues/new/choose", - }, + { p.muted "Please consider contributing to mason.nvim:" }, }, + Ui.CascadingStyleNode({ "INDENT" }, { + Ui.HlTextNode { + { + p.highlight "https://github.com/williamboman/mason.nvim/blob/main/CONTRIBUTING.md", + }, + { + p.highlight "https://github.com/williamboman/mason.nvim/blob/main/doc/reference.md", + }, + }, + }), Ui.EmptyLine(), Ui.HlTextNode { { |
