This commit is contained in:
2026-02-12 09:17:17 -10:00
parent c9494906ca
commit a7ee27437f
3 changed files with 192 additions and 16 deletions
+16 -1
View File
@@ -26,11 +26,26 @@ fnl/plugins/ - Plugin specs in Fennel
2. **Edit Fennel files in `fnl/`** - they compile to `lua/` on save
3. **`init.lua` and `lua/bootstrap.lua` stay as Lua** - they bootstrap nfnl
**IMPORTANT FOR CLAUDE:** After editing any `.fnl` file, compile all Fennel files to Lua:
## Compiling Fennel (MANDATORY)
**After editing ANY `.fnl` file, you MUST compile it to Lua:**
```bash
cd ~/.config/nvim && nvim --headless -c "NfnlCompileAllFiles" -c "qa"
```
If compilation says "destination-exists", delete the lua file first to force recompile:
```bash
cd ~/.config/nvim && rm lua/plugins/init.lua && nvim --headless -c "NfnlCompileAllFiles" -c "qa"
```
### Trust Issue Fix
If you see ".nfnl.fnl is not trusted", add it to nvim's trust database:
```bash
sha256sum ~/.config/nvim/.nfnl.fnl | awk '{print $1 " /home/ajet/.config/nvim/.nfnl.fnl"}' >> ~/.local/state/nvim/trust
```
## Fennel Syntax Quick Reference
```fennel