Commit Graph

177 Commits

Author SHA1 Message Date
nfnty
e5c90c6b10 Remove highlight link from pythonDot to Normal
Linking `pythonDot` to `Normal` breaks `CursorLine` highlighting.

```
hi Normal guifg=#ffffff guibg=#000000
hi CursorLine guibg=#111111
```

Closes #48
2019-01-09 15:17:42 +00:00
nfnty
58d6e019d3 Fix raw f-string interpolation
Fixes #32
2017-08-04 13:51:08 +02:00
lilydjwg
35841908e4 move {{ and }} matching so that it gets highlighted correctly 2017-07-28 19:14:08 +02:00
nfnty
3a6000e560 Fix exponent operator error highlighting
Fixes #25
2017-05-21 12:08:19 +02:00
nfnty
ea34354750 syntax: Implement raw format strings
Fixes #21
2017-03-18 16:02:59 +01:00
nfnty
26f711e9cd syntax: Fix pythonRawBytes prefix 2017-03-18 15:45:04 +01:00
nfnty
d1b4de242b Fix operator error highlighting for = prefix
Fixes #20
2017-03-15 13:25:42 +01:00
nfnty
aacf27d1a3 Implement option to disable highlighting builtin functions as kwarg
Fixes #17
2017-03-05 10:41:45 +01:00
Antony Lee
453162092e syntax: Fix string formatting highlight for byte strings 2017-03-04 23:03:55 +01:00
nfnty
e036a4c41a Be explicit about builtin functions 2017-03-04 22:55:21 +01:00
Antony Lee
95fcb49f5b syntax: cmp is not a builtin function in Python 3 2017-03-04 22:53:18 +01:00
nfnty
0959f6d130 Do not error highlight PEP 3017 operator
Fixes #11
2017-02-27 00:11:03 +01:00
nfnty
c85d026015 Update statements and functions 2017-02-26 23:35:41 +01:00
nfnty
26f2a6beb8 syntax: Remove pythonIdentifier 2017-02-26 10:03:39 +01:00
monkoose
941b582782 syntax: Fix unicode function names 2017-02-26 10:03:30 +01:00
nfnty
39ba0d8a04 Fix operators <<= and >>= 2017-02-24 22:55:41 +01:00
nfnty
b56fc25c55 docs: Update Features 2017-02-24 16:02:37 +01:00
nfnty
f7105bd860 Impplement operator highlighting
Fixes #7
Closes #9
2017-02-24 13:55:46 +01:00
nfnty
51ea0dab84 syntax: Remove pythonFunctionArgs as it's poorly implemented 2017-02-24 12:50:51 +01:00
nfnty
c8300301fb Highlight builtin functions without braces 2017-02-24 10:53:02 +01:00
nfnty
013c9ff33f syntax: Fix function args 2017-02-23 08:21:16 +01:00
nfnty
32de302135 docs: Remove duplicate option variable 2017-02-23 07:50:53 +01:00
monkoose
5ffc69c38f Add option variable for class variables 2017-02-23 07:50:31 +01:00
nfnty
4eee0bdaa1 syntax: Remove duplicate yield
Fixes #6
2017-02-21 23:24:01 +01:00
nfnty
d7c1b4a9cd syntax: Skip escaped triple quotes 2017-02-21 17:36:34 +01:00
nfnty
f5b242e57b syntax: Combine regexes
Improves performance
2017-02-21 17:24:11 +01:00
nfnty
750e4f1d67 syntax: Remove duplicate line, Minor reorder 2017-02-21 16:50:45 +01:00
nfnty
8f6af03977 syntax: Remove unneeded capture groups, Always use non-capture 2017-02-21 16:46:11 +01:00
nfnty
51f3be4ec0 syntax: (\.)@<! -> \.@<! 2017-02-21 16:36:47 +01:00
nfnty
826ece295d tests: Fix builtin functions, Separate builtin functions and types
Fixes #5
2017-02-19 14:27:32 +01:00
nfnty
15c69d6c70 tests: Remove from from keywords
Fixes #5
2017-02-19 14:17:38 +01:00
nfnty
82e689a252 docs: Use a line length of max 78 characters 2017-02-19 13:51:06 +01:00
nfnty
82836bb811 Move comment to right position 2017-02-19 13:40:57 +01:00
nfnty
08324146d4 pythonClassVaraible -> pythonClassVariable
Fixes #4
2017-02-19 12:37:14 +01:00
nfnty
b557c46078 docs: Update Features list formatting 2017-02-17 15:40:09 +01:00
nfnty
643005bd23 docs: Add Python 3.6 to features 2017-02-17 15:21:07 +01:00
lilydjwg
13616ab8a9 AUTHORS: Update 2017-02-17 10:38:14 +01:00
lilydjwg
47e958df05 align strings, remove tabs 2017-02-17 16:41:58 +08:00
lilydjwg
06788bf72e update test.py 2017-02-17 16:14:49 +08:00
lilydjwg
f8d6b63f95 support underscores in numbers
mostly taken from https://github.com/hdima/python-syntax/pull/60
2017-02-17 16:14:49 +08:00
lilydjwg
f6aa2f6cae better f-strings highlighting
Taken from https://github.com/hdima/python-syntax/pull/60
2017-02-17 16:14:49 +08:00
lilydjwg
8cc1bbb295 narrow decorator match to exclude matrix multiplication
from hdima/python-syntax#47
2017-02-17 16:14:49 +08:00
nfnty
91430a49b6 README: Convert to markdown 2017-02-17 07:28:55 +01:00
nfnty
aaa002e48d docs: Fix lists for real 2017-02-17 00:26:56 +01:00
nfnty
a8e5577c58 docs: Fix list items 2017-02-17 00:21:57 +01:00
nfnty
3c615fb1c7 syntax: FunctionParameters: Don't include the parentheses in the match
Fixes problem with Rainbow parentheses
2017-02-16 23:00:13 +01:00
nfnty
b9b0a787cf Remove docs from syntax file 2017-02-16 22:15:09 +01:00
nfnty
49dd46fc99 Remove TODO and CHANGES 2017-02-16 22:11:43 +01:00
nfnty
187f89d1fd README: Minor cleanup 2017-02-16 22:07:40 +01:00
nfnty
6d231116fa Minor documentation update 2017-02-16 22:06:25 +01:00