Permalink
Switch branches/tags
Nothing to show
Commits on Jul 12, 2017
  1. Support versioned python in first line

    mkhl authored and sorbits committed Mar 12, 2017
    The current first line match only matches `\bpython\b`, which means it doesn’t match hashbang lines with python executables containing a version number, like `python3` which is inserted by the `py3` first line snippet.
    This means that when in a new file I expand `py3` the file isn’t switched to Python.
    
    This change adds support for versions in the executable names (including periods like in `python2.7`).
Commits on Apr 28, 2016
Commits on Apr 20, 2016
  1. Add Help command

    infininight committed Apr 19, 2016
    This details how to setup the `TM_PYCHECKER` variable for syntax checking. Based on a pull request from @evildmp
Commits on Apr 18, 2016
  1. Modernized property snippet

    fonnesbeck authored and infininight committed Jan 28, 2014
Commits on Feb 22, 2016
  1. Switch from character properties to posix sets

    infininight committed Feb 22, 2016
    For compatibility with engines that use PCRE rather than Oniguruma/Onigmo we need to use POSIX groups in character classes rather than character properties. This is due to PCRE not supporting the same aliases that Oniguruma supports.
    
    #ignore
  2. Limit scope of SQL language include

    infininight committed Feb 22, 2016
    By pre-matching the snippet passed to the SQL grammar we prevent matches that consume an entire line from breaking the syntax matching. Only doing this for single-line strings because there are block contexts to consider for multi-line strings.
  3. Add py3 extension

    infininight committed Feb 9, 2016
    #ignore
  4. Exit matches early if the string is terminating

    infininight committed Feb 9, 2016
    This can cause a false positive by matching the wrong string type but this is better than leaving the string open.
  5. Limit escaping in raw strings to quotes

    infininight committed Feb 9, 2016
    Marking these as escapes for clarity even though the backslash is included in the string content.
  6. Remove special handling of empty strings

    infininight committed Feb 9, 2016
    These can be matched with a grouped left/right scope match, there is no longer a need for a special scope.
  7. Remove unneccesary match

    infininight committed Feb 9, 2016
    We don't need to add the meta.identifier match in this case.
    
    #ignore
  8. Remove outdated 'del' function match

    infininight committed Feb 8, 2016
    This is now matched by magic_function_calls or magic_function_names.
  9. Cleanup generic function-call rule

    infininight committed Feb 8, 2016
    Remove outdated patterns and simplify rule.
  10. Remove exec from keyword.other

    infininight committed Feb 8, 2016
    This is now matched by the built-in function rules.
  11. Add support for the ellipsis object

    MattDMo authored and infininight committed Oct 18, 2015
  12. Don't screw up decorator highlighting

    MattDMo authored and infininight committed Oct 18, 2015
  13. Add rule for print function call

    MattDMo authored and infininight committed Sep 15, 2015
  14. Update built-in function names, variables, etc from manual

    MattDMo authored and infininight committed Sep 15, 2015
    Also split built-in functions and magic functions into two with one dedicated for function-calls.
  15. Improve function call matching

    MattDMo authored and infininight committed Sep 6, 2015