The following filetype-specific text objects have been deprecated inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/chrisgrieser/nvim-various-textobjs/llms.txt
Use this file to discover all available pages before exploring further.
nvim-various-textobjs in favour of Treesitter-based equivalents provided by nvim-treesitter-textobjects. The Treesitter approach is both more precise — because it operates on the language’s AST rather than text patterns — and more composable with the rest of the Treesitter ecosystem. Creating a custom query file is a one-time, low-effort migration.
Calling any deprecated function still works but will display a deprecation warning in Neovim with the full migration instructions. The functions will be removed in a future release. The deprecation date is 2025-11-30.
mdFencedCodeBlock
Create the file ./queries/markdown/textobjects.scm in your Neovim config dir:
mdLink
Create the file ./queries/markdown_inline/textobjects.scm in your Neovim config dir:
mdEmphasis
Create the file ./queries/markdown_inline/textobjects.scm in your Neovim config dir:
cssSelector
Create the file ./queries/css/textobjects.scm in your Neovim config dir:
shellPipe
Create the file ./queries/{zsh,bash}/textobjects.scm in your Neovim config dir:
htmlAttribute
No custom query file is needed for this one. The nvim-treesitter-textobjects plugin already ships with built-in support for HTML attributes. Use the existing capture directly: