Skip to content

Commit

Permalink
Installation instruction for lazy package manager (#608)
Browse files Browse the repository at this point in the history
* docs: added installation instruction for `lazy` package manager

* docs: improved instruction

* docs: support for `NvChad` 

closes #608
  • Loading branch information
aap01 authored Oct 14, 2023
1 parent 7821933 commit a1ca115
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,17 @@ use({
use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
```

Or with [Lazy.nvim](https://github.com/folke/lazy.nvim):

```lua
-- install without yarn or npm
{
"iamcco/markdown-preview.nvim",
ft = {"markdown"},
build = function() vim.fn["mkdp#util#install"]() end,
}
```

Or by hand

```vim
Expand Down

0 comments on commit a1ca115

Please sign in to comment.