aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-03-25 16:06:02 +0100
committerGitHub <noreply@github.com>2023-03-25 16:06:02 +0100
commit28cba65281fe6e34473092bfcac9073fb0ab90c7 (patch)
tree34cb4cd1e16612e0da31fcf6bf673f50f4a8616d /README.md
parentchore: autogenerate (#1134) (diff)
downloadmason-28cba65281fe6e34473092bfcac9073fb0ab90c7.tar
mason-28cba65281fe6e34473092bfcac9073fb0ab90c7.tar.gz
mason-28cba65281fe6e34473092bfcac9073fb0ab90c7.tar.bz2
mason-28cba65281fe6e34473092bfcac9073fb0ab90c7.tar.lz
mason-28cba65281fe6e34473092bfcac9073fb0ab90c7.tar.xz
mason-28cba65281fe6e34473092bfcac9073fb0ab90c7.tar.zst
mason-28cba65281fe6e34473092bfcac9073fb0ab90c7.zip
docs: add :MasonUpdate to plugin manager snippets (#1136)
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 16 insertions, 3 deletions
diff --git a/README.md b/README.md
index f1569b1e..c9828452 100644
--- a/README.md
+++ b/README.md
@@ -90,13 +90,26 @@ your personal usage, some of these will also need to be installed. Refer to `:ch
## [Packer](https://github.com/wbthomason/packer.nvim)
```lua
-use "williamboman/mason.nvim"
+use {
+ "williamboman/mason.nvim",
+ run = ":MasonUpdate" -- :MasonUpdate updates registry contents
+}
+```
+
+## [lazy.nvim](https://github.com/folke/lazy.nvim)
+
+```lua
+{
+ "williamboman/mason.nvim",
+ build = ":MasonUpdate" -- :MasonUpdate updates registry contents
+}
```
-## vim-plug
+## [vim-plug](https://github.com/junegunn/vim-plug)
```vim
-Plug 'williamboman/mason.nvim'
+" :MasonUpdate updates registry contents
+Plug 'williamboman/mason.nvim', { 'do': ':MasonUpdate' }
```
# Setup