awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nvim-treesitter avatar

nvim-treesitter/nvim-treesitterArchived

0
View on GitHub↗
13,970 stars·1,424 forks·Tree-sitter Query·Apache-2.0·17 views

Nvim Treesitter

This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It serves as a framework for structural code navigation, context-aware syntax highlighting, and the management of language-specific parsers.

The system distinguishes itself through a multi-language injection handler that identifies and parses embedded languages within a single document. It uses a dedicated parser manager to install, update, and remove grammar definitions and their associated query files.

The tool covers several capability areas including incremental text selection, automated structural indentation, and semantic code folding. These features are driven by mapping syntax tree nodes to semantic categories using custom query definitions.

Features

  • Neovim Plugins - Integrates Tree-sitter syntax trees into the Neovim editor for structural code analysis, navigation and highlighting.
  • Syntax Highlighting - Provides context-aware, structural code colorization by mapping syntax tree nodes to semantic capture groups.
  • Code Highlighting - Provides context-aware coloring of source code based on the actual grammar of the language.
  • Syntax-to-Semantic Mappings - Maps syntax tree nodes to functional categories using external query files to drive highlighting and structural analysis.
  • Dynamic Grammar Compilation - Downloads and compiles external grammar definitions into binary modules for the editor to execute.
  • Syntax Highlighting Engines - Applies precise, context-aware colorization to code by mapping Tree-sitter syntax tree nodes to semantic categories.
  • Text Selection Utilities - Implements structural text selection that expands or shrinks based on named nodes in the language grammar.
  • Language Parsing Rules - Identifies and parses embedded languages within a single file to apply different syntax rules to different sections.
  • Parser Lifecycle Management - Installs and updates Tree-sitter parsers to enable structural analysis for different programming languages.
  • Syntax Query Definitions - Implements declarative queries to traverse and extract structural information from syntax trees for highlighting and text objects.
  • Syntax Tree Analysis - Analyzes code syntax by mapping syntax tree nodes to semantic categories to enable precise highlighting and structural analysis.
  • Syntax Traversal - Traverses the hierarchical structure of parsed source code to derive structural boundaries for indentation and folding.
  • Embedded Language Highlighting - Identifies and parses embedded code blocks within a primary document to apply multiple language grammars simultaneously.
  • Language Injection Patterns - Identifies and parses embedded languages within a document to apply appropriate syntax rules to different sections.
  • Buffer Attachment Modules - Creates custom modules that dynamically attach to editor buffers based on language detection and available support.
  • Parser Asset Management - Manages the installation, updating, and removal of language-specific grammar parsers from remote or local sources.
  • Text Object Selection - Expands or shrinks code selections based on the structural hierarchy of a language grammar.
  • Structural Folding - Calculates fold boundaries and collapses code sections using fold expressions derived from the concrete syntax tree.
  • Indentation Engines - Determines the correct indentation level for code by analyzing the structural hierarchy and state of the syntax tree.
  • Filetype Mappings - Maps language parsers to specific filetypes to enable structural analysis for unconventional file extensions.
  • Structural Navigation - Implements incremental selection, logical code folding and automated indentation based on concrete syntax trees.
  • Syntax Highlighting - Core configuration and abstraction layer for Tree-sitter.

Star history

Star history chart for nvim-treesitter/nvim-treesitterStar history chart for nvim-treesitter/nvim-treesitter

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Nvim Treesitter

Similar open-source projects, ranked by how many features they share with Nvim Treesitter.
  • nvim-mini/mini.nvimnvim-mini avatar

    nvim-mini/mini.nvim

    9,325View on GitHub↗

    mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls

    Lualuamini-nvimneovim
    View on GitHub↗9,325
  • ajaxorg/aceajaxorg avatar

    ajaxorg/ace

    27,133View on GitHub↗

    Ace is a high-performance, browser-based code editor and JavaScript text editor component designed to be embedded into web applications. It functions as a feature-rich alternative to standard text areas, providing a syntax highlighting engine and support for multiple programming and markup languages. The editor is distinguished by its ability to handle large documents containing millions of lines while maintaining stable performance. It supports multi-cursor editing, allowing simultaneous modifications at multiple selection points across a document. The project covers a broad range of develo

    JavaScript
    View on GitHub↗27,133
  • helix-editor/helixhelix-editor avatar

    helix-editor/helix

    44,911View on GitHub↗

    Helix is a terminal-based modal text editor designed for efficient code manipulation and navigation. It centers on a selection-first editing model, where operations are performed on active ranges rather than individual cursor positions, allowing for precise control over text and code structures. The editor distinguishes itself through deep integration with structural parsing and language intelligence. By utilizing an incremental parsing library, it builds concrete syntax trees that enable advanced features like structural code navigation, intelligent indentation, and syntax-aware text object

    Rustkakounerusttext-editor
    View on GitHub↗44,911
  • anomalyco/opentuianomalyco avatar

    anomalyco/opentui

    12,131View on GitHub↗

    Opentui is a terminal user interface framework for building interactive command line applications. It provides a component-based system featuring a flexbox layout engine, a virtual node component tree, and a low-level 2D cell array renderer. The project is distinguished by a sophisticated keyboard binding engine that maps complex multi-stroke sequences and chords to named commands using prioritized, reactive layers. It also implements a plugin architecture that allows external modules to inject custom UI components into designated layout slots and extend input logic at runtime. Its capabilit

    TypeScript
    View on GitHub↗12,131
See all 30 alternatives to Nvim Treesitter→

Frequently asked questions

What does nvim-treesitter/nvim-treesitter do?

This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It serves as a framework for structural code navigation, context-aware syntax highlighting, and the management of language-specific parsers.

What are the main features of nvim-treesitter/nvim-treesitter?

The main features of nvim-treesitter/nvim-treesitter are: Neovim Plugins, Syntax Highlighting, Code Highlighting, Syntax-to-Semantic Mappings, Dynamic Grammar Compilation, Syntax Highlighting Engines, Text Selection Utilities, Language Parsing Rules.

What are some open-source alternatives to nvim-treesitter/nvim-treesitter?

Open-source alternatives to nvim-treesitter/nvim-treesitter include: nvim-mini/mini.nvim — mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation,… ajaxorg/ace — Ace is a high-performance, browser-based code editor and JavaScript text editor component designed to be embedded into… helix-editor/helix — Helix is a terminal-based modal text editor designed for efficient code manipulation and navigation. It centers on a… anomalyco/opentui — Opentui is a terminal user interface framework for building interactive command line applications. It provides a… kylechui/nvim-surround — nvim-surround is a Lua-based extension for Neovim designed to add, change, and delete surrounding delimiter pairs… codemirror/codemirror — CodeMirror is a browser-based code editor and extensible text editor framework. It functions as a programmable…