Add missing keywords

This commit is contained in:
Manuel Stieger 2025-11-21 00:16:08 +01:00
parent 1498ef1c1c
commit 4a9f0f8e51
1 changed files with 22 additions and 0 deletions

View File

@ -288,6 +288,28 @@ static this()
"__VERSION__", "__FUNCTION__", "__PRETTY_FUNCTION__", "__MODULE__", "__VERSION__", "__FUNCTION__", "__PRETTY_FUNCTION__", "__MODULE__",
"__FILE__", "__LINE__", "__FILE_FULL_PATH__"]) "__FILE__", "__LINE__", "__FILE_FULL_PATH__"])
builtinSymbols.insert(makeSymbol(s, CompletionKind.keyword)); builtinSymbols.insert(makeSymbol(s, CompletionKind.keyword));
foreach (s; ["abstract", "alias", "align", "asm", "assert", "auto",
"body", "break",
"case", "cast", "catch", "class", "const", "continue",
"debug", "default", "delegate", "delete", "deprecated", "do",
"else", "enum", "export", "extern",
"false", "final", "finally", "for", "foreach", "foreach_reverse", "function",
"goto",
"if", "immutable", "import", "in", "inout", "interface", "invariant", "is",
"lazy",
"macro", "mixin", "module",
"new", "nothrow", "null",
"out", "override",
"package", "pragma", "private", "protected", "public", "pure",
"ref", "return",
"scope", "shared", "static", "struct", "super", "switch", "synchronized",
"template", "this", "throw", "true", "try", "typeid", "typeof",
"union", "unittest",
"version",
"while", "with",
"__gshared", "__parameters", "__rvalue", "__vector"])
builtinSymbols.insert(makeSymbol(s, CompletionKind.keyword));
} }
static ~this() static ~this()