mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ NimLexer keyword corrections
This commit is contained in:
parent
cbb585c3d4
commit
f55a70bca4
@ -10,15 +10,18 @@ static __int64 LexFunction(LexFunctionType type, int value)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// https://github.com/nim-lang/Nim/blob/devel/doc/keywords.txt
|
||||
|
||||
KEYWORDLIST KeyWords_Nim = {
|
||||
"addr and as asm atomic bind block break case cast concept const continue converter "
|
||||
"addr and as asm bind block break case cast concept const continue converter "
|
||||
"defer discard distinct div do elif else end enum except export finally for from func "
|
||||
"generic if import in include interface is isnot iterator let macro method mixin mod "
|
||||
"if import in include interface is isnot iterator let macro method mixin mod "
|
||||
"nil not notin object of or out proc ptr raise ref return shl shr static "
|
||||
"template try tuple type using var when while with without xor yield",
|
||||
"template try tuple type using var when while xor yield",
|
||||
"", "", "", "", "", "", "", "" };
|
||||
|
||||
|
||||
|
||||
EDITLEXER lexNim = {
|
||||
SCLEX_NIM, IDS_LEX_NIM_SRC, L"Nim Source Code", L"nim; nimrod", L"",
|
||||
&LexFunction, // static
|
||||
|
||||
Loading…
Reference in New Issue
Block a user