X-Git-Url: http://nitlanguage.org diff --git a/misc/source-highlight/nit.lang b/misc/source-highlight/nit.lang index 754266d..2564958 100644 --- a/misc/source-highlight/nit.lang +++ b/misc/source-highlight/nit.lang @@ -29,7 +29,7 @@ environment string delim '(\"{3})' '(\"{3})' escape "\\" multiline begin specialchar = '\\.' end -keyword = "abort|abstract|as|assert|break|continue|do|else|end|enum|extern|for|if|import|in|interface|intern|intrude|is|isa|isset|new|label|loop|private|protected|readable|return|super|then|while|false|null|nullable|redef|self|true|and|not|or|fun|var|type|init|class|package|module|special|universal|writable" +keyword = "abort|abstract|as|assert|break|continue|do|else|end|catch|enum|extern|for|if|import|in|interface|intern|intrude|is|isa|isset|new|label|loop|private|protected|readable|return|super|then|while|false|null|nullable|redef|self|true|and|not|or|fun|var|type|init|class|package|module|special|universal|writable" type = '[[:upper:]]([[:word:]]*)'