copnfigure folding
This commit is contained in:
parent
b9d9f7e264
commit
0685135ccf
3 changed files with 89 additions and 2 deletions
29
README.md
29
README.md
|
|
@ -49,6 +49,35 @@ Record every decision here with a short rationale. Append new entries; do not re
|
|||
- indent-blankline for visual indent guides with scope highlighting
|
||||
- nvim-ufo for enhanced folding with Treesitter/LSP providers (zR/zM/K for peek)
|
||||
- undotree for visual undo history (<leader>u to toggle)
|
||||
- 2025-12-07: Git integration Phase 7:
|
||||
- Gitsigns with minimal config for signs in gutter (add, change, delete markers)
|
||||
- Hunk navigation: `]h`/`[h` for next/prev hunk
|
||||
- Hunk actions: stage, reset, preview
|
||||
- NO inline blame or advanced features (keep minimal)
|
||||
- 2025-12-07: Copilot Phase 8:
|
||||
- Integrated via copilot.lua + copilot-cmp (completion source)
|
||||
- Auto-trigger suggestions as you type
|
||||
- Copilot suggestions appear before LSP in completion menu (higher priority)
|
||||
- Enabled for all filetypes
|
||||
- No specific Copilot keymaps (use existing cmp keymaps)
|
||||
- Node.js v22.21.1 confirmed working
|
||||
- 2025-12-07: Formatting & Linting Phase 9:
|
||||
- **Philosophy**: Formatters are authoritative; Neovim settings match formatter output
|
||||
- **Formatters**: prettier (JS/TS/CSS/JSON/MD/HTML), phpcbf (PHP/WordPress), stylua (Lua), black (Python)
|
||||
- **Linters**: eslint_d (JS/TS), phpcs (PHP/WordPress), markdownlint (Markdown), ruff (Python)
|
||||
- **Strategy**: Project-local executables first (node_modules/.bin/, vendor/bin/), then Mason, then system PATH
|
||||
- **WordPress**: phpcs/phpcbf already installed globally; use phpcs.xml or --standard=WordPress
|
||||
- **Format-on-save**: Enabled by default, toggle with `<leader>lt`
|
||||
- **Manual format**: `<leader>lf` (buffer), `<leader>lf` (visual range)
|
||||
- **Linting split**: none-ls for formatting only, nvim-lint for diagnostics (none-ls removed linters)
|
||||
- **Python support**: pyright LSP, black formatter, ruff linter, treesitter parser
|
||||
- **Per-filetype indentation**: Explicit settings per filetype to match formatters
|
||||
- PHP: tabs, 2-space display (WordPress standards)
|
||||
- JS/TS/CSS/JSON/HTML: 2 spaces (Prettier)
|
||||
- Lua: 2 spaces (common convention)
|
||||
- Markdown: 2 spaces (Prettier)
|
||||
- Python: 4 spaces (Black/PEP 8)
|
||||
- **Global defaults**: 4 spaces (reasonable baseline for other filetypes)
|
||||
|
||||
## Project-Local Configuration (design)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue