mirror of https://github.com/Sam1301/Lite.git
Add NULL as Type2 keyword for C lang profile.
This commit is contained in:
parent
f24bad6a41
commit
f4bf2a5743
3
editor.c
3
editor.c
|
@ -93,11 +93,12 @@ struct editorConfig {
|
|||
/*** filetypes ***/
|
||||
char *C_HL_extensions[] = { ".c", ".h", ".cpp", NULL };
|
||||
|
||||
// keywords with '|' at the end are type 2 keywords
|
||||
char *C_HL_keywords[] = {
|
||||
"switch", "if", "while", "for", "break", "continue", "return", "else",
|
||||
"struct", "union", "typedef", "static", "enum", "class", "case",
|
||||
"int|", "long|", "double|", "float|", "char|", "unsigned|", "signed|",
|
||||
"void|", "define", "include", NULL
|
||||
"void|", "define", "include", "NULL|", NULL
|
||||
};
|
||||
|
||||
struct editorSyntax HLDB[] = {
|
||||
|
|
Loading…
Reference in New Issue