From 28cba65281fe6e34473092bfcac9073fb0ab90c7 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 25 Mar 2023 16:06:02 +0100 Subject: docs: add :MasonUpdate to plugin manager snippets (#1136) --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3-70-g09d2