196 Commits

Author SHA1 Message Date
Joakker
2cc00ba729 Add walrus operator
Closes #77
2020-12-14 21:33:22 +00:00
koka
83d4c63f77 Implement python class name highlighting
Fixes #18
Closes #30
2020-12-02 20:18:59 +00:00
nfnty
0ad21fd728 Highlight class variables inside f-strings
Fixes #56
2020-12-02 19:57:29 +00:00
fishsouprecipe
2ccfb142e7 Add mcs to class variables
Closes #74
2020-12-02 19:30:30 +00:00
nfnty
c661c01918 Merge branch 'fstring' 2020-12-02 18:13:38 +00:00
nfnty
082a78ac7d Fix f-string boundaries and add more tests 2020-12-02 18:12:54 +00:00
Caleb Donovick
e82ed75da5 Enable syntax highlighting in f-strings 2020-05-27 14:08:12 -07:00
nfnty
c1c5bafb6d Minor ordering change for highlight_builtins
Followup to f351c0d2b1
2020-04-19 20:33:56 +01:00
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
f73fbf0ba6 Fix PendingDeprecationWarning typo in tests 2020-02-26 11:16:24 +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
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