feat: nvim-treesitter-textobjects

This commit is contained in:
punkfairie 2024-12-08 15:05:09 -08:00
parent 9ca26bcf6a
commit f40dd25075
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 9 additions and 0 deletions

View file

@ -57,6 +57,7 @@ with final.pkgs.lib; let
gitsigns-nvim
# Treesitter
nvim-treesitter-textobjects
(nvim-treesitter.withPlugins (
plugins:
with plugins; [

View file

@ -1,5 +1,6 @@
local req = MarleyVim.local_require('plugins.treesitter')
return {
req('nvim-treesitter-textobjects'),
req('nvim-treesitter'),
}

View file

@ -0,0 +1,7 @@
return {
'nvim-treesitter-textobjects',
event = 'DeferredUIEnter',
before = function()
require('lz.n').trigger_load('nvim-treesitter')
end,
}