aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-11 17:08:05 +0200
committerGitHub <noreply@github.com>2022-07-11 17:08:05 +0200
commitfe8dee1833bcb084ae4ff05797c9b89fe65ff046 (patch)
tree3f0aceadf82b28101b14cc782b06d8a8ad1a2d1d /doc
parentfeat: add pylint, cpplint, prettier (#51) (diff)
downloadmason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.tar
mason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.tar.gz
mason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.tar.bz2
mason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.tar.lz
mason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.tar.xz
mason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.tar.zst
mason-fe8dee1833bcb084ae4ff05797c9b89fe65ff046.zip
feat(api): run :MasonInstall in blocking fashion if no UIs are attached (#52)
Also make sure to exit neovim with an error exit code should one or more installations fail.
Diffstat (limited to 'doc')
-rw-r--r--doc/mason.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/mason.txt b/doc/mason.txt
index 6d6ecbd9..9ae43be1 100644
--- a/doc/mason.txt
+++ b/doc/mason.txt
@@ -75,6 +75,10 @@ Opens the graphical status window.
:MasonInstall <package> ...
Installs the provided packages.
+Runs in blocking fashion if there are no UIs attached (i.e. running in
+headless mode), example:
+
+ $ nvim --headless -c "MasonInstall stylua" -c "qall"
*:MasonUninstall*
:MasonUninstall <package> ...