Commit f63eb47a authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Better handle state autocompletion

parent 568b839d
......@@ -936,7 +936,7 @@ class State(VerticalSymbol):
# Get AST for the symbol and update the context dictionnary
ast, _, _, _, _ = self.parser.parseSingleElement('state', pr_text)
for each in ast.statelist:
CONTEXT.mapping[each] = None
CONTEXT.mapping[each.lower()] = None
def completion_list(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment