MattDMo / PythonImproved

The best Python language definition for Sublime Text - ever. Includes full support for Unicode, as well as both Python 2 and Python 3 syntax. Check out the Neon Color Scheme for highlighting.
https://packagecontrol.io/packages/Python%20Improved
MIT License
93 stars 11 forks source link

PythonImproved and SublimeLinter #37

Closed dbrattli closed 9 years ago

dbrattli commented 9 years ago

Had a hard time getting flake8 linter working. Turned out the problem was that I was using PythonImproved and the linter framework ignored the file. To enable you must make a syntax mapping [1] from pythonimproved to python in user settings of SublimeLinter.sublime-settings:

    "syntax_map": {
        "html (django)": "html",
        "html (rails)": "html",
        "html 5": "html",
        "php": "html",
        "python django": "python",
        "pythonimproved": "python"
    },

Would be nice if this could be added to the docs since others are likely to experience the same problem.

[1] http://www.sublimelinter.com/en/latest/global_settings.html#syntax-map

dbrattli commented 9 years ago

Duplicate of #14

rexdf commented 9 years ago

Duplicate of #36

kiddten commented 8 years ago

Same here. Hard to find out. Seems we need to add quick note to readme.