From cca53c667a14358688f9199e15b86f541eaeaa54 Mon Sep 17 00:00:00 2001 From: Youcef Mezrag <56481396+mezyoucef32@users.noreply.github.com> Date: Sat, 7 Jan 2023 23:44:29 +0100 Subject: [PATCH] chore: adding packer install option to README (#40) --- 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.