-
Notifications
You must be signed in to change notification settings - Fork 9
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
Apostrophe breaks syntax highlighting for Ini files #3
Comments
This issue is addressed in PR #1 from 2015, maybe time has come to finally merge at least parts of it? |
can PR #1 from 2015 be merged? or perhaps some other appropriate fix for syntax highlighting |
I would like to have this issue solved as well. Seems a fix is available (see #3 (comment)) |
This is a really simple issue, no idea why it's been open for 5 years. A fix was provided 7 years ago, can it please be merged? |
It's 2024 and we're likely to see vscode replaced before this gets merged 😆 |
MERGE IT ALREADY |
Until this does get fixed, a workaround to stop your entire [section_1]
this_id = 281474976818284
that_id = 281474977838819
string_with_apostrophe = Mark's Keyboard Repair
# '
[section_2]
this_id = 281474976816734
that_id = 281474978538200
string_with_apostrophe = Pepper's Ghost
# ' Somewhat entertainingly, on writing out the example |
From @thijsvandien on March 2, 2017 17:13
Steps to Reproduce:
Different ini implementations have their own interpretations of values. E.g., Windows does not consider the apostrophes of a quoted value part of that value. I'm not aware of the exact rules, but at least the current highlighting behavior is wrong. I think it would be better to stick to the universally valid rules – sections, keys and values – and not to consider apostrophes special at all.
Copied from original issue: microsoft/vscode#21804
The text was updated successfully, but these errors were encountered: