Skip to content
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

Update python highlighting to take advantage of themes. #2451

Merged
merged 13 commits into from
May 20, 2022

Commits on May 10, 2022

  1. Change python highlights.scm to more fully utilize the themes.

    Create type keywords
    Allow _CONSTANTS to start with _
    Highlight constants before constructors
    Move some keywords into @keyword.control
    Zeddicus414 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    62a6345 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e4a9da View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Configuration menu
    Copy the full SHA
    25815df View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Python highlight improvements: type, parameter etc

    * str, list, etc. handled as @function.builtin and @type.builtin
    * None and non-conforming type indentifiers as @type in type hints
    * class identifiers treated as @type
    * @constructor used for constructor definitions and calls rather than
      as a catch-all for type-like things
    * Parameters highlighted
    * self and cls as @variable.builtin
    * improved decorator highlighting as part of @function
    
    Re-ordering of some statements to give more accurate priority.
    Paul Scott committed May 13, 2022
    Configuration menu
    Copy the full SHA
    d5b6bc4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from paul-scott/types

    Python highlight improvements: type, parameter etc
    Zeddicus414 authored May 13, 2022
    Configuration menu
    Copy the full SHA
    fc84edd View commit details
    Browse the repository at this point in the history

Commits on May 14, 2022

  1. Python handling highlighting parameters with defaults

    Paul Scott committed May 14, 2022
    Configuration menu
    Copy the full SHA
    9da79d9 View commit details
    Browse the repository at this point in the history
  2. Python highlight keyword argument as parameter

    Paul Scott committed May 14, 2022
    Configuration menu
    Copy the full SHA
    ef740fb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from paul-scott/types

    Highting parameters with defaults and keyword arguments
    paul-scott authored May 14, 2022
    Configuration menu
    Copy the full SHA
    065ab2a View commit details
    Browse the repository at this point in the history
  4. Python highlight decorator attribute

    Paul Scott committed May 14, 2022
    Configuration menu
    Copy the full SHA
    41cfaed View commit details
    Browse the repository at this point in the history
  5. Merge pull request #3 from paul-scott/types

    Python highlight decorator attribute
    paul-scott authored May 14, 2022
    Configuration menu
    Copy the full SHA
    d3ee550 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2022

  1. Configuration menu
    Copy the full SHA
    2009d2b View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Configuration menu
    Copy the full SHA
    b07f84f View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Configuration menu
    Copy the full SHA
    6756086 View commit details
    Browse the repository at this point in the history