mirror of
https://github.com/SeriousBug/dotfiles
synced 2025-12-06 21:12:08 -06:00
Fix Dotter template parsing conflict with Lua double-brace syntax
Set hop.lua as symbolic link type to prevent Dotter from interpreting
Lua table syntax {{...}} as Handlebars templates. Add documentation
for handling similar conflicts in CLAUDE.md.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a40f25b734
commit
40b517fc58
|
|
@ -16,9 +16,12 @@ depends = []
|
|||
"nvim/init.lua" = "~/.config/nvim/init.lua"
|
||||
"nvim/lazy-lock.json" = "~/.config/nvim/lazy-lock.json"
|
||||
"nvim/lua/config/lazy.lua" = "~/.config/nvim/lua/config/lazy.lua"
|
||||
"nvim/lua/plugins/hop.lua" = "~/.config/nvim/lua/plugins/hop.lua"
|
||||
"nvim/lua/plugins/mini-surround.lua" = "~/.config/nvim/lua/plugins/mini-surround.lua"
|
||||
|
||||
[nvim.files."nvim/lua/plugins/hop.lua"]
|
||||
target = "~/.config/nvim/lua/plugins/hop.lua"
|
||||
type = "symbolic"
|
||||
|
||||
[nvim.variables]
|
||||
|
||||
[fish]
|
||||
|
|
|
|||
12
CLAUDE.md
Normal file
12
CLAUDE.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Dotfiles Configuration Notes
|
||||
|
||||
## Dotter Template Handling
|
||||
|
||||
Dotter automatically treats files with `{{` as templates. For files that contain `{{` in their code (like Lua tables), disable templating by setting `type = "symbolic"` in `.dotter/global.toml`.
|
||||
|
||||
**Example:**
|
||||
```toml
|
||||
[nvim.files."nvim/lua/plugins/hop.lua"]
|
||||
target = "~/.config/nvim/lua/plugins/hop.lua"
|
||||
type = "symbolic"
|
||||
```
|
||||
Loading…
Reference in a new issue