fix(set_tags): better tag parsing for hyphens and whitespaces#1098
fix(set_tags): better tag parsing for hyphens and whitespaces#1098celsobenedetti wants to merge 4 commits intonvim-orgmode:masterfrom
Conversation
1. hyphens are replaced with underscores 2. whitespaces are treated as separators between multiple tags
|
Both hyphen and space are not a valid value for a tag. Unfortunately, Neovim does not allow limiting the characters that are accepted in the input, so anything can be typed in. Emacs does not allow entering a space in the prompt, and for anything that is typed that does not match the regex, it is converted to a single colon. |
Went for this approach: celsobenedetti@98d6fdb |
Summary
Tweak in the tag parsing in the set_tags prompt editor.
Now:
Example
If a user enters something like this in the
set_tagsprompt:before:
after:
Related Issues
Closes #1097
Checklist
I confirm that I have:
Conventional Commits
specification (e.g.,
feat: add new feature,fix: correct bug,docs: update documentation).make test.