diff --git a/App/lib/lsp/LspSemantic.vp b/App/lib/lsp/LspSemantic.vp index abaf45f..4ffc784 100644 --- a/App/lib/lsp/LspSemantic.vp +++ b/App/lib/lsp/LspSemantic.vp @@ -536,7 +536,7 @@ def _LexStream(pool: memhub.MemManager*, elif tok.type == ast.TokenType.Name and tok.str_val is not None and string.strcmp(tok.str_val, "own") == 0: typ = ST_KEYWORD elif tok.type == ast.TokenType.Name and tok.str_val is not None and string.strcmp(tok.str_val, "None") == 0: - typ = ST_KEYWORD + typ = ST_CLASS elif tok.type == ast.TokenType.Name and tok.str_val is not None and string.strcmp(tok.str_val, "Some") == 0: typ = ST_CLASS elif tok.type == ast.TokenType.Name and _IsBuiltinFunctionName(tok.str_val) != 0: