Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch editing events emitted by Nova on macOS #2672

Closed
wants to merge 7 commits into from

Conversation

jamiedumont
Copy link
Contributor

As per the bug report #2663, I've added a branch to the match expression to catch EventKind::Modify(ModifyKind::Name(RenameMode::Any)) events made by Nova on macOS when editing files.

It appears that this is the only event that makes it to meaningful_events: HashMap<PathBuf, (PathBuf, SimpleFileSystemEventKind, ChangeKind)> when using Nova.

In testing this change, I discovered that other editors including Helix 24.7 and Vim 9.0.2142 also emit this event, but go on to emit others.

This change didn't introduce problems when editing with:

  • Helix 24.7
  • Vim 9.0.2142
  • Sublime Text Build 4180
    on macOS 14.6.1.

Let me know if you want further testing (or tests) added.

Cheers, Jamie.

daudix and others added 7 commits August 18, 2024 19:57
The setup with Cloudflare Pages and the development environment with a
Nix shell is documented. I believe this coudl be useful to others.
…tzola#2655)

This updates the Shortcodes documentation to specify that shortcode names must begin with a letter or an underscore.

fixes getzola#2654
@jamiedumont
Copy link
Contributor Author

Just realised my branch is based on main and bringing in other commits. Apologies. I’ll close this and make a new PR based on next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants