Skip to content

Commit 547eac4

Browse files
committed
docs: guard init.lua in CLAUDE.md; hide eob tilde markers
Add file placement rules to CLAUDE.md explicitly marking init.lua as read-only upstream. Set fillchars.eob to hide end-of-buffer ~ characters.
1 parent b8bf0be commit 547eac4

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Neovim Config — Claude Instructions
22

3+
## File Placement Rules
4+
5+
**`init.lua` is read-only upstream (kickstart.nvim).** You MUST NOT edit it under any circumstances. Doing so causes merge conflicts on upstream updates.
6+
7+
All additions MUST go in one of:
8+
- `after/plugin/options.lua` — vim options and `vim.opt.*` settings
9+
- `after/plugin/keymaps.lua` — keymaps
10+
- `after/plugin/gui.lua` — GUI-specific settings
11+
- `lua/custom/plugins/<name>.lua` — plugin specs and overrides (Lazy.nvim merges these)
12+
- `lua/custom/` — general custom modules
13+
314
## Keybinding Tips (`lua/custom/keytips.lua`)
415

516
`keytips.lua` contains a **hand-curated static list** of keybinding tips shown at startup and via `:KeyTip`.

after/plugin/options.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ vim.o.tabstop = 4 -- Number of spaces tabs count for
77
vim.o.shiftwidth = 4 -- Size of an indent
88
vim.o.smartindent = true -- Insert indents automatically
99
vim.opt.spelllang = { 'en_gb' }
10+
vim.opt.fillchars = { eob = ' ' } -- hide end-of-buffer ~ markers
1011

1112
-- Cursor — per-mode shapes with slow-typewriter blink (long on, brief off)
1213
vim.opt.guicursor = table.concat({

0 commit comments

Comments
 (0)