awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nvim-treesitter avatar

nvim-treesitter/nvim-treesitter-context

0
View on GitHub↗
3,120 Stars·224 Forks·Janet·mit·1 Aufruf

Nvim Treesitter Context

nvim-treesitter-context is a Neovim editor extension that provides structural awareness of source files by displaying sticky headers of surrounding code blocks. It utilizes Tree-sitter queries to identify parent functions and classes, keeping them visible at the top of the editor window while scrolling.

The tool allows for language rule customization, enabling the definition of specific structural queries to modify how context is detected for different programming languages. Users can also adjust the visual appearance of the context window through custom highlight groups.

Beyond visual orientation, the plugin provides navigation primitives to jump the cursor directly to the beginning of the surrounding code block or structural parent.

Features

  • Sticky Header Pinning - Maintains a sticky header of parent code blocks at the top of the viewport during scrolling.
  • Code Analysis Query Languages - Uses Tree-sitter queries to analyze the structural properties and hierarchical nesting of source code.
  • Structural Node Querying - Uses structural queries to identify relevant parent blocks for a specific programming language.
  • Neovim Plugins - Extends Neovim by providing structural awareness through a sticky view of parent code blocks.
  • Structural Context Plugins - Displays sticky headers of surrounding code structures at the top of the editor window while scrolling.
  • Structural Query Mappings - Associates programming languages with distinct structural rules to determine valid code context.
  • Custom Structural Rules - Allows users to define custom structural queries to modify context detection for different programming languages.
  • Code Navigation Utilities - Improves navigation efficiency by keeping parent functions and classes visible during scrolling.
  • Structural Code Navigation - Provides structural code navigation by jumping the cursor to the start of the surrounding code block.
  • Source Code Analysis Tools - Analyzes the source code structure to enable jumping between a line of code and its parent definition.
  • Editing and Text Manipulation - Displays floating context for current block.

Star-Verlauf

Star-Verlauf für nvim-treesitter/nvim-treesitter-contextStar-Verlauf für nvim-treesitter/nvim-treesitter-context

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Nvim Treesitter Context

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Nvim Treesitter Context.
  • nvim-mini/mini.nvimAvatar von nvim-mini

    nvim-mini/mini.nvim

    9,325Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗9,325
  • kylechui/nvim-surroundAvatar von kylechui

    kylechui/nvim-surround

    4,228Auf GitHub ansehen↗

    nvim-surround is a Lua-based extension for Neovim designed to add, change, and delete surrounding delimiter pairs around text and code. It functions as a text object manipulator that wraps or removes brackets, quotes, and tags using motions and selections. The plugin integrates with Tree-sitter to identify structural code nodes, allowing for the precise surrounding of syntax elements based on the structural syntax tree. It also supports custom surround definitions, enabling users to define specialized delimiter pairs and aliases. The core capability surface covers basic surrounding operation

    Lua
    Auf GitHub ansehen↗4,228
  • folke/flash.nvimAvatar von folke

    folke/flash.nvim

    3,903Auf GitHub ansehen↗

    flash.nvim is a label-based navigation engine and motion plugin for Neovim. It provides a system for fast cursor repositioning by marking targets across the screen with unique characters, allowing for instant movement to specific characters, search matches, and code structures. The plugin extends navigation through Tree-Sitter integration, enabling the identification and selection of parent nodes and structural code blocks. It further distinguishes itself by supporting multi-window cursor movement, allowing users to search for patterns and jump between different files or split windows using a

    Luaneovimneovim-plugin
    Auf GitHub ansehen↗3,903
  • windwp/nvim-autopairsAvatar von windwp

    windwp/nvim-autopairs

    4,051Auf GitHub ansehen↗

    nvim-autopairs is a Lua-based extension for Neovim that automatically inserts closing brackets, quotes, and keywords to maintain balanced syntax. It functions as a contextual bracket automator, utilizing Tree-Sitter structural nodes to determine when to insert or skip closing characters based on the code's actual syntax tree. The plugin distinguishes itself by using Tree-Sitter awareness to prevent inserting pairs inside strings or comments. It supports dynamic closing string resolution and custom pairing logic, allowing users to define specific rules using regular expressions and filetype fi

    Luaautopairsluaneovim
    Auf GitHub ansehen↗4,051
Alle 30 Alternativen zu Nvim Treesitter Context anzeigen→

Häufig gestellte Fragen

Was macht nvim-treesitter/nvim-treesitter-context?

nvim-treesitter-context is a Neovim editor extension that provides structural awareness of source files by displaying sticky headers of surrounding code blocks. It utilizes Tree-sitter queries to identify parent functions and classes, keeping them visible at the top of the editor window while scrolling.

Was sind die Hauptfunktionen von nvim-treesitter/nvim-treesitter-context?

Die Hauptfunktionen von nvim-treesitter/nvim-treesitter-context sind: Sticky Header Pinning, Code Analysis Query Languages, Structural Node Querying, Neovim Plugins, Structural Context Plugins, Structural Query Mappings, Custom Structural Rules, Code Navigation Utilities.

Welche Open-Source-Alternativen gibt es zu nvim-treesitter/nvim-treesitter-context?

Open-Source-Alternativen zu nvim-treesitter/nvim-treesitter-context sind unter anderem: nvim-mini/mini.nvim — mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation,… kylechui/nvim-surround — nvim-surround is a Lua-based extension for Neovim designed to add, change, and delete surrounding delimiter pairs… folke/flash.nvim — flash.nvim is a label-based navigation engine and motion plugin for Neovim. It provides a system for fast cursor… windwp/nvim-autopairs — nvim-autopairs is a Lua-based extension for Neovim that automatically inserts closing brackets, quotes, and keywords… sinelaw/fresh — Zed is a terminal-based code editor built in Rust that provides a full-featured editing experience with familiar… sebastianbergmann/code-unit-reverse-lookup — This project is a static code analysis tool that functions as a code unit resolver and source code line mapper. It…