Our great sponsors
-
mini.nvim
Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
There is nvim-treesitter/nvim-treesitter-textobjects. It serves double purpose: defines per-language queries for which tree-sitter nodes should be considered a function, class, etc. and defines textobjects.
If you want to have slightly enhanced experience with textobjects, you can use mini.ai.
Here are some examples: https://github.com/jmbuhr/quarto-nvim-kickstarter/blob/main/lua/plugins/treesitter.lua
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Moving to text object
- 'mini.surround' new features - tree-sitter support, "last"/"next" extended mappings, aliases, and more
- 'mini.ai' now supports textobjects based on tree-sitter
- mini.ai - extend and create a/i textobjects (like 'targets.vim', but in Lua and a bit different)
- Question: Is it a requirement that plugins written in Lua require you to call the setup function?