We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Show-Paren is very useful when editing code in Yaml Block scalars. Unfortunately, it doesn't display the parenthesis matches.
Is there any reason to modify the yaml-mode syntax table with these 2 characters :
(modify-syntax-entry ?\( "." syntax-table) (modify-syntax-entry ?\) "." syntax-table)
Show-Paren needs this syntax to highlight parentheses :
(modify-syntax-entry ?\( "()" yaml-mode-syntax-table) (modify-syntax-entry ?\) ")(" yaml-mode-syntax-table)
Thanks
The text was updated successfully, but these errors were encountered:
As per the YAML specification 1.2 section 7.4 only [] and {} have special delimiter-like meaning: https://yaml.org/spec/1.2/spec.html#id2790088
[]
{}
That being said, I don't see the harm in adding () to the list. These characters are only mentioned in the standard as valid URI characters.
()
Sorry, something went wrong.
No branches or pull requests
Show-Paren is very useful when editing code in Yaml Block scalars. Unfortunately, it doesn't display the parenthesis matches.
Is there any reason to modify the yaml-mode syntax table with these 2 characters :
Show-Paren needs this syntax to highlight parentheses :
Thanks
The text was updated successfully, but these errors were encountered: