Commit Graph

109 Commits

Author SHA1 Message Date
Sarunas Nejus
f351c0d2b1 Fix highlight_builtins when highlight_all isn't set
Fixes #66
Closes #67
2020-04-09 14:33:40 +01:00
nfnty
6ce77d0013 Preserve backwards compatibility for pythonFunction
Related to #63
2020-02-26 20:26:37 +00:00
nfnty
ee2a336f9e Fix function call highlighting priority
Related to #63
2020-02-26 11:06:18 +00:00
nfnty
6890a367fb Fix indentation 2020-02-25 11:13:13 +00:00
antoinemadec
53ea235863 Implement function call highlighting
Closes #63
2020-02-25 11:12:15 +00:00
nfnty
1df5e5aaf8 Fix parsing floats with no number trailing the .
Fixes #41
2019-01-09 16:17:04 +00:00
nfnty
41ad5136c4 Fix PendingDeprecationWarning typo
Fixes #44
2019-01-09 16:13:17 +00:00
nfnty
8d3c0af775 Add builtin function breakpoint
Fixes #46
2019-01-09 15:59:09 +00:00
Caleb Donovick
0a925278f7 Split builtin objects / types
Closes #55
2019-01-09 15:54:28 +00:00
Caleb Donovick
7ecb80f0fc Add pythonNone to pythonExpression
Closes #54
2019-01-09 15:22:13 +00:00
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
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
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
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
lilydjwg
47e958df05 align strings, remove tabs 2017-02-17 16:41:58 +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
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
b3c219a6e2 Add AUTHORS file 2017-02-16 18:48:56 +01:00
nfnty
dec4b0814e linting with vint 2017-02-16 18:39:19 +01:00
nfnty
bb5058fd7f Update links 2017-02-16 18:14:13 +01:00
Michael Doronin
b4466414b5 None is highlighted as constant value (which it is in python3) 2017-01-26 15:41:11 +03:00
Michael Doronin
0b6be3fbc8 python 3.6 formatted string literals support 2017-01-09 13:03:47 +03:00