diff --git a/README.md b/README.md index c6299f64..ce9ccbcb 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,21 @@ use({ }) ``` +If you are using [Lazy](https://github.com/folke/lazy.nvim), add this to your plugins list: + +```lua +{ + 'nvim-treesitter/nvim-treesitter', + build = ':TSUpdate', + dependencies = { 'nvim-treesitter/nvim-treesitter-textobjects' }, + config = function() + require'nvim-treesitter.configs'.setup { + textobjects = {} + } + end, +} +``` + ## Text objects: select Define your own text objects mappings