mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-05 14:10:13 +03:00
Fix keywords being incorrectly highlighted as function calls (#353)
This commit is contained in:
@@ -155,6 +155,30 @@ export(test_enum) var enum_variable = test_enum.VALUE_1
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
func if_test():
|
||||
var some_bool := true
|
||||
|
||||
while some_bool:
|
||||
pass
|
||||
while (some_bool):
|
||||
pass
|
||||
|
||||
if some_bool:
|
||||
return some_bool
|
||||
|
||||
if (some_bool):
|
||||
return (some_bool)
|
||||
elif !some_bool:
|
||||
return !some_bool
|
||||
elif !(some_bool):
|
||||
return !(some_bool)
|
||||
elif (some_bool):
|
||||
pass
|
||||
else:
|
||||
pass
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
class InnerClass:
|
||||
var some_var = 100
|
||||
var dict = {
|
||||
|
||||
Reference in New Issue
Block a user