-
-
Notifications
You must be signed in to change notification settings - Fork 166
Description
IMPORTANT: Some issues have already been fixed!
If you’re still on the regular 1.113 release, you might be suffering from a problem that has already been fixed. Many fixes landed on master in #859. You are encouraged to download the latest rolling release — both (a) to see whether what you’re reporting has been fixed, and (b) so that you can enjoy the fixes that have been reported since the 1.113 release.
This will serve as a catch-all issue for any problems you may encounter with syntax highlighting in REPLACE files (language-python). If you have problems with the new syntax highlighting (or folds, or indents) that are specific to .py files, keep reading.
Something isn't highlighting correctly!
If you’ve found any highlighting regressions since 1.113:
First, please scroll down and see if someone else has reported the issue. If so, then you need only sit back and wait for a fix — most issues will be fixed in version 1.114!
If not, please comment with
- A small amount of sample code to reproduce the issue
- Screenshots (before and after would be ideal, but just the “after” is OK for obvious things
I want to go back to the old highlighting!
You can easily opt out of the new Tree-sitter highlighting for any language, but first please:
- subscribe to this issue so you'll know when the problem is fixed
- remove the config change when the next release comes out so that you can enjoy the new grammar once again
To revert to the old Tree-sitter grammar for this language only, add the following to your config.cson:
".python.source":
core:
useLegacyTreeSitter: trueTo revert to the TextMate-style grammar for this language only, add the following to your config.cson:
".python.source":
core:
useTreeSitterParsers: false