From 7d17dedf9a3cb9ac3aba78612e344037686d8bc7 Mon Sep 17 00:00:00 2001 From: Jannik Buhr Date: Fri, 5 Jul 2024 10:35:04 +0200 Subject: [PATCH] show example lazy.nvim plugin spec --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f4b95f..50fb895 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,26 @@ The playlist is extened as more features are added, so join us for a "Coffee wit ## Setup You can install `quarto-nvim` from GitHub with your favourite Neovim plugin manager -like [lazy.nvim](https://github.com/folke/lazy.nvim), [packer.nvim](https://github.com/wbthomason/packer.nvim) or [VimPlug](https://github.com/junegunn/vim-plug). +like [lazy.nvim](https://github.com/folke/lazy.nvim), +[packer.nvim](https://github.com/wbthomason/packer.nvim) or [VimPlug](https://github.com/junegunn/vim-plug). -Because Quarto provides a lot of functionality through integration with existing plugins, we recommend to experiment with the [quarto-nvim kickstarter configuration](https://github.com/jmbuhr/quarto-nvim-kickstarter) +Example `lazy.nvim` plugin specification: + +```lua +-- plugins/quarto.lua +return { + { + "quarto-dev/quarto-nvim", + dependencies = { + "jmbuhr/otter.nvim", + "nvim-treesitter/nvim-treesitter", + }, + }, +} +``` + +Because Quarto provides a lot of functionality through integration with existing plugins, +we recommend to experiment with the [quarto-nvim kickstarter configuration](https://github.com/jmbuhr/quarto-nvim-kickstarter) and then pick the relevant parts from the [`lua/plugins/quarto.lua`](https://github.com/jmbuhr/quarto-nvim-kickstarter/blob/main/lua/plugins/quarto.lua) file to integrate it into your own existing configuration.