1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-11-15 02:56:17 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
cn
1bdac950b3 Pull out comment_todo into separate jsf
Note: Python has a second, special flavor for docstrings - might be a problem.
2015-02-18 14:53:07 +01:00
cn
3b413c90d7 Fix Python decorators highlighting
As per PR https://github.com/cmur2/joe-syntax/pull/16 from @avli it does:

This fixes highlighting of the decorators with arguments. For example, the following code highlighting was broken:

```python

@first
@second("arg1", "arg2")
def my_fun():
    pass

```
2014-11-11 09:39:35 +01:00
Christian Nicolai
719446269f Python: quasi-keywords and support for decorators (@annotation -> red) 2011-09-03 16:46:25 +02:00
Christian Nicolai
c0d169a2ce Python: Highlight "private" members (e.g. _var) in brown 2011-09-03 16:18:07 +02:00
Christian Nicolai
499511cac7 Python docstrings should be green
Else everything is cyan: constants like numbers and strings *and* the docstrings.
2011-09-03 16:00:12 +02:00
Christian Nicolai
269586ce04 Todo label highlighting for Python 2011-09-03 11:05:07 +02:00
Christian Nicolai
dfb8ac1c22 Added original JOE highlighter for Python 2011-09-03 11:03:43 +02:00