Author SHA1 Message Date
rootiestandClaude Sonnet 5 22858faac9 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
2026-08-24 21:58:24 -04:00
4 changed files with 1 additions and 32 deletions
+1 -4
View File
@@ -35,7 +35,6 @@ The configuration is strictly modular:
- **Lualine**: Statusline with Git diff and line-by-line Gitsigns blame.
- **Noice**: Modern UI for cmdline (popup), messages, and LSP hover.
- **Snacks**: High-performance dashboard, explorer, and pickers.
- **Snacks-tea**: Gitea/Forgejo extension for Snacks (via the `tea` CLI) — Pull Request picker, review, and creation UI, mirroring the built-in GitHub PR/issue integration.
- **Nvim-web-devicons**: Consistent icons across UI components.
### Editing & Navigation
@@ -78,7 +77,6 @@ To ensure all features (pickers, formatters, and LSPs) work correctly, the follo
- `fzf` (Fuzzy finder fallback)
- `lazygit` (Git TUI)
- `gh` (GitHub CLI integration)
- `tea` (Gitea/Forgejo CLI integration, for Snacks-tea)
- `xclip` / `xsel` (X11) or `wl-copy` (Wayland) for clipboard sync.
### Runtime Environments
@@ -92,12 +90,11 @@ To ensure all features (pickers, formatters, and LSPs) work correctly, the follo
**Debian / Ubuntu:**
```bash
sudo apt install git ripgrep fd-find fzf lazygit gh xclip nodejs npm build-essential curl unzip
# tea: no apt package; install via `go install gitea.com/gitea/tea@latest` or a release binary.
```
**Arch Linux:**
```bash
sudo pacman -S git ripgrep fd fzf lazygit github-cli tea xclip nodejs npm base-devel curl unzip
sudo pacman -S git ripgrep fd fzf lazygit github-cli xclip nodejs npm base-devel curl unzip
```
## 🚀 Getting Started
-11
View File
@@ -119,17 +119,6 @@ vim.keymap.set("n", "<leader>gP", function()
Snacks.picker.gh_pr({ state = "all" })
end, { desc = "GitHub Pull Requests (all)" })
-- Tea (Gitea/Forgejo)
vim.keymap.set("n", "<leader>gt", function()
Snacks.tea.pr()
end, { desc = "Tea Pull Requests (open)" })
vim.keymap.set("n", "<leader>gT", function()
Snacks.tea.pr({ state = "all" })
end, { desc = "Tea Pull Requests (all)" })
vim.keymap.set("n", "<leader>gc", function()
Snacks.tea.pr_create({})
end, { desc = "Tea Create Pull Request" })
-- Grep
vim.keymap.set("n", "<leader>sb", function()
Snacks.picker.lines()
-13
View File
@@ -21,11 +21,6 @@ vim.cmd.colorscheme("catppuccin")
-- Eagerly load snacks for dashboard and performance features.
vim.pack.add({ { src = "https://github.com/folke/snacks.nvim", name = "snacks" } })
-- Snacks-tea.nvim
-- Gitea/Forgejo extension for Snacks (adds Snacks.tea, the PR picker/buffer
-- UI). Wraps the `tea` CLI, must be on the runtimepath before snacks.setup().
vim.pack.add({ { src = "https://github.com/sbulav/snacks-tea.nvim", name = "snacks-tea" } })
-- Snacks Config
-- Store opts in the registry first.
Config.plugins.snacks = {
@@ -95,14 +90,6 @@ Config.plugins.snacks = {
scratch = { enabled = true },
scroll = { enabled = true },
statuscolumn = { enabled = true },
tea = {
enabled = true,
tea = {
cmd = "tea", -- Path to tea binary
login = nil, -- Specific login to use (nil = auto-detect)
remote = "origin", -- Git remote to use
},
},
terminal = {
enabled = true,
win = {
-4
View File
@@ -140,10 +140,6 @@
"rev": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e",
"src": "https://github.com/folke/snacks.nvim"
},
"snacks-tea": {
"rev": "fdbfe05c29a2fab48d4d4feb3e4df0c43f3d4c14",
"src": "https://github.com/sbulav/snacks-tea.nvim"
},
"undotree": {
"rev": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d",
"src": "https://github.com/mbbill/undotree"