From 40b517fc58ecd0251856a274c8770b6e347251f0 Mon Sep 17 00:00:00 2001 From: Kaan Barmore-Genc Date: Sat, 15 Nov 2025 23:12:16 -0600 Subject: [PATCH] Fix Dotter template parsing conflict with Lua double-brace syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .dotter/global.toml | 5 ++++- CLAUDE.md | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 CLAUDE.md diff --git a/.dotter/global.toml b/.dotter/global.toml index dcc2da4..8df8a65 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -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] diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..94114ee --- /dev/null +++ b/CLAUDE.md @@ -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" +```