From efd190d5c47be43ccc4e8ef81faa13c5d8b6508e Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 6 Aug 2022 14:23:10 +0200 Subject: docs: add :help mason.nvim to README (#259) --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 79955d74..c3e2051f 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,14 @@

Portable package manager for Neovim that runs everywhere Neovim runs.
- Easily install and manage LSP servers, DAP servers, linters, and formatters. + Easily install and manage LSP servers, DAP servers, linters, and formatters.
+ :help mason.nvim

# Table of Contents - [Introduction](#introduction) + - [How to use installed packages](#how-to-use-installed-packages) - [Screenshots](#screenshots) - [Requirements](#requirements) - [Installation](#installation) @@ -23,6 +25,8 @@ # Introduction +> `:h mason-introduction` + `mason.nvim` is a Neovim plugin that allow you to easily manage external editor tooling such as LSP servers, DAP servers, linters, and formatters through a single interface. It runs everywhere Neovim runs (across Linux, macOS, Windows, etc.), with only a small set of [external requirements](#requirements) needed. @@ -33,6 +37,8 @@ etc.) as well as other 3rd party plugins. ## How to use installed packages +> `:h mason-how-to` + Although many packages are perfectly usable out of the box through Neovim builtins, it is recommended to use other 3rd party plugins to further integrate these. The following plugins are recommended: @@ -57,6 +63,8 @@ party plugins to further integrate these. The following plugins are recommended: # Requirements +> `:h mason-requirements` + `mason.nvim` relaxes the minimum requirements by attempting multiple different utilities (for example, `wget`, `curl`, and `Invoke-WebRequest` are all perfect substitutes). The _minimum_ recommended requirements are: @@ -90,6 +98,8 @@ Plug 'williamboman/mason.nvim' # Setup +> `:h mason-quickstart` + ```lua require("mason").setup() ``` @@ -107,6 +117,8 @@ Refer to the [Wiki](https://github.com/williamboman/mason.nvim/wiki/Extensions) # Commands +> `:h mason-commands` + - `:Mason` - opens a graphical status window - `:MasonInstall ...` - installs/reinstalls the provided packages - `:MasonUninstall ...` - uninstalls the provided packages @@ -115,6 +127,8 @@ Refer to the [Wiki](https://github.com/williamboman/mason.nvim/wiki/Extensions) # Configuration +> `:h mason-settings` + You may optionally configure certain behavior of `mason.nvim` when calling the `.setup()` function. Refer to the [default configuration](#default-configuration) for a list of all available settings. -- cgit v1.2.3-70-g09d2