feature: Worktree support #83

Closed
opened 2026-05-04 03:06:29 -05:00 by Fadope1 · 5 comments
Fadope1 commented 2026-05-04 03:06:29 -05:00 (Migrated from github.com)

Did you check the docs?

  • I have read all the haunt.nvim docs

Could be that this is a bug and not intended behavior

Describe the solution you'd like

Im current using wt (worktrunk) for worktrees. When creating new local branches I already auto-copy the .haunt file to the new branch. But it is not recognizing the marks.

Describe alternatives/other solutions you've considered

Additional context

No response

### Did you check the docs? - [x] I have read all the haunt.nvim docs ### Is your feature request related to a problem? Please describe. Could be that this is a bug and not intended behavior ### Describe the solution you'd like Im current using wt (worktrunk) for worktrees. When creating new local branches I already auto-copy the .haunt file to the new branch. But it is not recognizing the marks. ### Describe alternatives/other solutions you've considered - ### Additional context _No response_
Owner

Please share your haunt config.

I would like to know what you have as data_dir

Please share your haunt config. I would like to know what you have as `data_dir`
Fadope1 commented 2026-05-05 02:28:31 -05:00 (Migrated from github.com)

@TheNoeTrevino i have tried with both data_dir = nil and vim.fn.getcwd() .. ".haunt" both working the same way

@TheNoeTrevino i have tried with both data_dir = nil and vim.fn.getcwd() .. ".haunt" both working the same way
Owner

https://github.com/user-attachments/assets/86a373b3-e3ee-4532-aee8-61cbc1f412fc

You will need to add more details. Looks fine to me

https://github.com/user-attachments/assets/86a373b3-e3ee-4532-aee8-61cbc1f412fc You will need to add more details. Looks fine to me
Fadope1 commented 2026-05-11 03:34:41 -05:00 (Migrated from github.com)

You are right. I just had to delete the old haunt file and retried with everything updated. Now it's working! Thanks!

You are right. I just had to delete the old haunt file and retried with everything updated. Now it's working! Thanks!
Owner

Glad to hear it! Thanks for double checking

Glad to hear it! Thanks for double checking
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
noe.trevino/haunt.nvim#83
No description provided.