Add NULL as Type2 keyword for C lang profile.

This commit is contained in:
Saumya Bhatnagar 2018-06-03 09:48:58 +05:30
parent f24bad6a41
commit f4bf2a5743
2 changed files with 2 additions and 1 deletions

BIN
editor

Binary file not shown.

View File

@ -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[] = {