awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·3 vues

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.

Historique des stars

Graphique de l'historique des stars pour nvim-treesitter/nvim-treesitterGraphique de l'historique des stars pour nvim-treesitter/nvim-treesitter

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Nvim Treesitter

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Nvim Treesitter.
  • nvim-mini/mini.nvimAvatar de nvim-mini

    nvim-mini/mini.nvim

    9,325Voir sur 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
    Voir sur GitHub↗9,325
  • ajaxorg/aceAvatar de ajaxorg

    ajaxorg/ace

    27,133Voir sur 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
    Voir sur GitHub↗27,133
  • helix-editor/helixAvatar de helix-editor

    helix-editor/helix

    44,911Voir sur 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
    Voir sur GitHub↗44,911
  • anomalyco/opentuiAvatar de anomalyco

    anomalyco/opentui

    12,131Voir sur 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
    Voir sur GitHub↗12,131
Voir les 30 alternatives à Nvim Treesitter→

Questions fréquentes

Que fait nvim-treesitter/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.

Quelles sont les fonctionnalités principales de nvim-treesitter/nvim-treesitter ?

Les fonctionnalités principales de nvim-treesitter/nvim-treesitter sont : Neovim Plugins, Syntax Highlighting, Code Highlighting, Syntax-to-Semantic Mappings, Dynamic Grammar Compilation, Syntax Highlighting Engines, Text Selection Utilities, Language Parsing Rules.

Quelles sont les alternatives open-source à nvim-treesitter/nvim-treesitter ?

Les alternatives open-source à nvim-treesitter/nvim-treesitter incluent : 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…