Skip to content
Snippets Groups Projects
Commit d6cef989 authored by eustas's avatar eustas Committed by Marijn Haverbeke
Browse files

Fix: properties named like built-ins are marked as errors.

parent 3090d4b5
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ CodeMirror.defineMode("python", function(conf, parserConf) {
if (current === '.') {
style = state.tokenize(stream, state);
current = stream.current();
if (style === 'variable') {
if (style === 'variable' || style === 'builtin') {
return 'variable';
} else {
return ERRORCLASS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment