diff --git a/contrib/geshi/chaiscript.php b/contrib/geshi/chaiscript.php index 99847ec..d1fd89c 100644 --- a/contrib/geshi/chaiscript.php +++ b/contrib/geshi/chaiscript.php @@ -51,7 +51,7 @@ $language_data = array ( 'break', 'else', 'else if', 'eval', 'for', 'if', 'return', 'while', 'try', 'catch', 'finally', ), 2 => array( - 'def', 'false', 'fun', 'true', 'var', 'attr', + 'def', 'false', 'fun', 'true', 'var', 'auto', 'attr', ), 3 => array( // built in functions diff --git a/contrib/vim/syntax/chaiscript.vim b/contrib/vim/syntax/chaiscript.vim index 5a64bdb..dc89d84 100644 --- a/contrib/vim/syntax/chaiscript.vim +++ b/contrib/vim/syntax/chaiscript.vim @@ -49,7 +49,7 @@ syn keyword chaiscriptExceptions try catch throw syn keyword chaiscriptKeyword def true false attr "Built in types -syn keyword chaiscriptType fun var +syn keyword chaiscriptType fun var auto "Built in funcs, keep it simple syn keyword chaiscriptFunc eval throw