From ff7327326a698f889c1607237472cccb9538ab7f Mon Sep 17 00:00:00 2001 From: Youcef Mezrag <56481396+mezyoucef32@users.noreply.github.com> Date: Tue, 27 Dec 2022 00:21:35 +0100 Subject: [PATCH] adding packer install option --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 4a29f95..47d3588 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,25 @@ Here you can see the plugin being used on a Go file with `cursor_line_only` turn In your nvim config, add the Plug dependencies: +Using Vim Plug: + ```lua call plug#begin() Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'code-biscuits/nvim-biscuits' call plug#end() +``` +Using Packer: + +```lua +use { + 'code-biscuits/nvim-biscuits', + requires = { + 'nvim-treesitter/nvim-treesitter', + run = ':TSUpdate' + }, +} + ``` You will also need to configure which language parsers you want to have enabled for tree-sitter. "maintained" currently will install 40 languages. "all" will install even more.