Skip to content

Feature: add support for configuring quote symbols#30

Closed
pleich wants to merge 1 commit intop4ymak:mainfrom
pleich:main
Closed

Feature: add support for configuring quote symbols#30
pleich wants to merge 1 commit intop4ymak:mainfrom
pleich:main

Conversation

@pleich
Copy link
Copy Markdown

@pleich pleich commented Feb 27, 2026

This commit adds support for customizing the quote symbols per language. It achieves this by adding a new field 'quote_symbols' to the 'Syntax' type. Unfortunately, the addition of this field will break backwards compatibility.

This commit adds support for customizing the quote symbols per
language. It achieves this by adding a new field 'quote_symbols'
to the 'Syntax' type. Unfortunately, the addition of this field
will break backwards compatibility.
@p4ymak
Copy link
Copy Markdown
Owner

p4ymak commented Feb 27, 2026

Screenshot From 2026-02-27 18-34-05

Hi! I've tried to add this feature by myself recently, ended up with solution pretty similar to yours.. = )

I've also added default quotes field to Syntax::new(), so it shouldn't break backwards compatibility in most cases..

#32

@p4ymak p4ymak closed this Feb 27, 2026
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.

2 participants