feat(mini.pairs): smart Markdown code-fence expansion on 3rd backtick
Typing a 3rd backtick after mini.pairs' `` pair now expands into a fenced code block instead of pairing into 4 backticks: the cursor lands right after the opener (ready for a language id), and backspacing the fence back out removes the empty closing fence too. Also includes an already-in-progress .gitignore expansion (AGENTS/ and agent-generated docs/ subdirs) and a plugins.lua tabs-to-spaces reformat that were sitting uncommitted in the working tree. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ExFQ86NxSFonQeUTbZh21a
This commit is contained in:
+13
@@ -175,3 +175,16 @@ Thumbs.db
|
||||
.[Rr][Ee][Mm][Ee][Mm][Bb][Ee][Rr]
|
||||
|
||||
# ──────────────────────────────────────────────────────────────
|
||||
|
||||
# ──────────────── Added by agents-init ──────────────────
|
||||
# agents-init --agents
|
||||
AGENTS/
|
||||
# ────────────────────────────────────────────────────────
|
||||
|
||||
# ──────────────── Added by agents-init ──────────────────
|
||||
# agents-init --plugins
|
||||
docs/superpowers
|
||||
docs/plans
|
||||
docs/specs
|
||||
docs/devlogs
|
||||
# ────────────────────────────────────────────────────────
|
||||
|
||||
@@ -14,7 +14,7 @@ A modern, modular, and high-performance Neovim configuration built from scratch
|
||||
- **AI-Powered**: Native integration with **GitHub Copilot** — inline completions via **blink-copilot** and multi-line refactoring via **Sidekick.nvim** Next Edit Suggestions (NES).
|
||||
- **User-Centric QoL**: Hybrid line numbers, autosave-on-edit, and seamless system clipboard integration.
|
||||
- **Resilient & Portable**: Intelligent terminal title management (Kitty + Fallback), automatic project root detection, and machine-local override support.
|
||||
- **Lean & Readable**: ~850 lines of Lua code (excluding comments and blanks).
|
||||
- **Lean & Readable**: ~980 lines of Lua code (excluding comments and blanks).
|
||||
|
||||
## 📁 Architecture
|
||||
|
||||
@@ -42,7 +42,7 @@ The configuration is strictly modular:
|
||||
- **Focusline**: Keeps the active line at a configurable screen position (30%) during scrolling motions.
|
||||
- **Mini.ai**: Better text objects (including `g` for entire buffer).
|
||||
- **Mini.surround**: Surround text objects (add/delete/change).
|
||||
- **Mini.pairs**: Auto-close brackets and quotes.
|
||||
- **Mini.pairs**: Auto-close brackets and quotes. In Markdown, a 3rd backtick expands `` `` `` into a fenced code block (cursor after the opener, ready for a language id) instead of pairing into 4 backticks; backspacing the fence back out removes the closing fence too.
|
||||
- **Persistence**: Session management.
|
||||
- **Which-key**: Interactive keybinding documentation.
|
||||
- **Gitsigns**: In-buffer git indicators and line highlights.
|
||||
|
||||
+518
-451
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user