awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
windwp avatar

windwp/nvim-autopairs

0
View on GitHub↗
4,051 نجوم·141 تفرعات·Lua·MIT·2 مشاهدات

Nvim Autopairs

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 filters.

Beyond basic insertion, the tool manages synchronized pair deletion, text wrapping for selected blocks, and newline block formatting. It also integrates with completion engines to automate the insertion of closing characters after selecting a function or method.

Features

  • Neovim Plugins - Provides an automated pairing and balancing system as a plugin for the Neovim editor.
  • Automatic Character Pairing - Automatically inserts matching closing characters during text entry by listening for specific key presses.
  • Auto-closing Brackets - Automatically inserts closing brackets, quotes, and keywords in Neovim to maintain balanced syntax.
  • Automatic Brace and Quote Insertions - Automatically inserts the matching closing brace, bracket, or quote when the opening character is typed.
  • Custom Auto-Pair Definitions - Allows users to define pairing logic for specific characters and restrict their activation to designated filetypes.
  • Simultaneous Pair Deletion - Automatically removes the closing part of a pair when the corresponding opening part is deleted.
  • Synchronized Pair Deletion - Automatically removes the closing part of a pair when the corresponding opening part is deleted.
  • Pattern-Based Triggers - Defines specific keys or text patterns that must be matched to trigger the insertion of a closing pair.
  • AST-Driven Pair Management - Uses Tree-Sitter structural nodes to determine when to insert or skip closing characters.
  • Filetype-Aware Syntax Support - Manages closing tags, brackets, and keywords automatically based on the current language filetype and syntax tree.
  • Contextual Pair Automation - Manages balanced pairs using rules based on filetypes, regular expressions, and cursor position.
  • Structural Node Filtering - Uses structural node data to prevent inserting pairs inside strings or comments.
  • Structural Node Validation - Analyzes the current syntax tree to prevent inserting pairs inside strings, comments, or invalid structural nodes.
  • Filetype Mappings - Associates pairing logic and behavioral constraints with specific language identifiers to ensure correct syntax across files.
  • Pair Insertion Predicates - Evaluates line content and structural nodes to determine the appropriate moment for inserting closing characters.
  • Regex Pattern Matching - Uses regex rules to verify surrounding text before triggering an automatic pairing action.
  • Automated Closing Sequences - Inserts multiple closing brackets simultaneously or generates dynamic closing text based on the opening pattern.
  • Closing Character Cursor Management - Moves the cursor past an existing closing character instead of inserting a duplicate when the ending part is already present.
  • Closing Keyword Insertion - Adds a closing keyword at the end of a block based on the opening statement and language rules.
  • Dynamic Ending Generation - Calculates the closing string at runtime using custom functions to allow for variable closing characters.
  • Conditional Pair Completion - Prevents the product from inserting closing characters unless specific text patterns or structural nodes are detected near the cursor.
  • Auto-Indented Pair Lines - Provides automatic insertion of indented lines between matching pairs when the enter key is pressed.
  • Engine Integrations - Integrates with completion engines to automatically insert closing parentheses and brackets after selecting functions or methods.
  • Pair-Aware Line Breaks - Automatically moves closing characters to a new line below the cursor when pressing enter between a pair.
  • Delimiter Wrapping - Surrounds existing blocks of text or selections with brackets and quotes using fast wrap sequences.
  • Fast-Wrap Sequences - Surrounds selected text with brackets or quotes using a dedicated fast-wrap sequence.
  • Statement Closure Automation - Inserts closing statements for language constructs like if/then/end specifically after a newline is pressed.
  • Code Block Wrapping - Handles line breaks and indentation within paired brackets to keep code structured.
  • Conditional Pairing Insertion - Restricts the product's automatic closing character insertion based on surrounding text, regular expressions, or specific node types.
  • Context Aware Pairing - Prevents the product from inserting a closing pair if one already exists on the line or follows alphanumeric characters.
  • Cursor Position Mapping - Determines whether to jump past or overlap with existing closing characters based on the current cursor index.
  • Dynamic Closing Resolution - Calculates the required closing character or keyword at runtime using custom functions for complex language constructs.
  • Editing and Text Manipulation - Minimalist autopairing for brackets and quotes.

سجل النجوم

مخطط تاريخ النجوم لـ windwp/nvim-autopairsمخطط تاريخ النجوم لـ windwp/nvim-autopairs

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Nvim Autopairs

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Nvim Autopairs.
  • jiangmiao/auto-pairsالصورة الرمزية لـ jiangmiao

    jiangmiao/auto-pairs

    4,201عرض على GitHub↗

    auto-pairs is a Vim plugin that provides an extensible system for automatic bracket management and text manipulation. It automatically inserts and deletes matching brackets, parentheses, and quotes to increase editing efficiency. The tool allows for the definition of custom single-character and multibyte opening and closing pairs, supporting complex delimiters such as comments or triple quotes. It provides capabilities for wrapping blocks of text in pairs, navigating between corresponding characters, and formatting indented lines when pressing enter within a pair.

    Vim script
    عرض على GitHub↗4,201
  • nvim-mini/mini.nvimالصورة الرمزية لـ nvim-mini

    nvim-mini/mini.nvim

    9,325عرض على 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
    عرض على GitHub↗9,325
  • sinelaw/freshالصورة الرمزية لـ sinelaw

    sinelaw/fresh

    5,914عرض على GitHub↗

    Zed is a terminal-based code editor built in Rust that provides a full-featured editing experience with familiar keybindings, mouse support, and multiple cursors. It runs entirely in the terminal while offering capabilities typically found in graphical editors, including split panes, a command palette, and integrated language server protocol support for real-time diagnostics, completions, go-to-definition, and code actions across multiple languages. The editor distinguishes itself through a plugin system that runs sandboxed TypeScript plugins in a QuickJS runtime, with an asynchronous bridge

    Rustideterminal-basedtext-editor
    عرض على GitHub↗5,914
  • folke/todo-comments.nvimالصورة الرمزية لـ folke

    folke/todo-comments.nvim

    4,055عرض على GitHub↗

    todo-comments.nvim is a Neovim plugin and codebase task navigator that highlights and manages task keywords within code comments. It functions as a Lua-based highlighter and workflow extension that aggregates pending work and notes from source code into a searchable project list. The plugin provides visual tracking of task comments using custom syntax highlighting and allows for jumping between these markers within a file. It enables project-wide task management by searching for tagged comments across multiple files to organize a development roadmap.

    Luaneovimneovim-plugin
    عرض على GitHub↗4,055
عرض جميع البدائل الـ 30 لـ Nvim Autopairs→

الأسئلة الشائعة

ما هي وظيفة windwp/nvim-autopairs؟

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.

ما هي الميزات الرئيسية لـ windwp/nvim-autopairs؟

الميزات الرئيسية لـ windwp/nvim-autopairs هي: Neovim Plugins, Automatic Character Pairing, Auto-closing Brackets, Automatic Brace and Quote Insertions, Custom Auto-Pair Definitions, Simultaneous Pair Deletion, Synchronized Pair Deletion, Pattern-Based Triggers.

ما هي البدائل مفتوحة المصدر لـ windwp/nvim-autopairs؟

تشمل البدائل مفتوحة المصدر لـ windwp/nvim-autopairs: jiangmiao/auto-pairs — auto-pairs is a Vim plugin that provides an extensible system for automatic bracket management and text manipulation.… nvim-mini/mini.nvim — mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation,… sinelaw/fresh — Zed is a terminal-based code editor built in Rust that provides a full-featured editing experience with familiar… nvim-treesitter/nvim-treesitter — This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It… folke/todo-comments.nvim — todo-comments.nvim is a Neovim plugin and codebase task navigator that highlights and manages task keywords within… zufuliu/notepad4 — Notepad4 is a lightweight, native Windows text editor built on the Scintilla editing component and rendered through…