Skip to content

[Python] Improve colorings and fix bugs#412

Open
davidhcefx wants to merge 1 commit intoscopatz:masterfrom
davidhcefx:python-enh
Open

[Python] Improve colorings and fix bugs#412
davidhcefx wants to merge 1 commit intoscopatz:masterfrom
davidhcefx:python-enh

Conversation

@davidhcefx
Copy link
Copy Markdown
Contributor

@davidhcefx davidhcefx commented Apr 13, 2023

Description

  • Improve colorings based on iPython (colors=Linux):
    • Green for exceptions and function names.
    • Red for keywords such as from and not.
    • Cyan for keywords such as for and if.
  • Fix empty strings not correctly highlighted.
  • Fix block comments not correctly highlighted when nothing follows ===.
  • Fix that TODO should be matched as a whole word.

Screenshot

  • Before

before

  • After

after

- Improve colorings based on iPython (colors=Linux):
    - Green for exceptions and function names.
    - Red for keywords such as `from` and `not`.
    - Cyan for keywords such as `for` and `if`.
- Fix empty strings not correctly highlighted.
- Fix block comments not correctly highlighted when nothing follows `===`.
- Add support for "TODO".
davidhcefx added a commit to davidhcefx/nanorc that referenced this pull request Feb 3, 2024
- Improve colorings based on iPython (colors=Linux):
    - Green for exceptions and function names.
    - Red for keywords such as `from` and `not`.
    - Cyan for keywords such as `for` and `if`.
- Fix empty strings not correctly highlighted.
- Fix block comments not correctly highlighted when nothing follows `===`.
- Add support for "TODO".

Originally proposed in scopatz#412
JoonasOnatsu added a commit to retardedsyntax/nanorc-syntax-highlighting that referenced this pull request Apr 24, 2024
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.

1 participant