@@ -45,16 +45,56 @@ export const language = <ILanguage>{
keywords: [
'ns',
'ns-unmap',
+ 'create-ns',
+ 'in-ns',
'fn',
'def',
'defn',
'defmacro',
'defmulti',
'defonce',
+ 'require',
+ 'import',
+ 'new',
+ 'refer',
+ 'pos',
+ 'pos\\?',
+ 'filter',
+ 'map',
+ 'reduce',
+ 'repeat',
+ 'key',
+ 'rest',
+ 'concat',
+ 'into',
+ 'reverse',
+ 'iterate',
+ 'range',
+ 'drop',
+ 'drop\\-while',
+ 'take',
+ 'take\\-while',
+ 'neg',
+ 'neg?',
'bound\\-fn',
'if',
'if\\-not',
+ 'if\\-let',
'case,',
+ 'contains',
+ 'conj',
+ 'disj',
+ 'sort',
+ 'get',
+ 'assoc',
+ 'merge',
+ 'keys',
+ 'vals',
+ 'nth',
+ 'first',
+ 'last',
+ 'count',
+ 'contains?',
'cond',
'condp',
'cond\\-\\>',
@@ -62,6 +102,7 @@ export const language = <ILanguage>{
'when',
'while',
'when\\-not',
+ 'when\\-let',
'when\\-first',
'do',
'future',
@@ -69,6 +110,10 @@ export const language = <ILanguage>{
'doto',
'locking',
'proxy',
+ 'println',
+ 'type',
+ 'meta',
+ 'var',
'as\\-\\>',
'reify',
'deftype',
@@ -87,6 +132,7 @@ export const language = <ILanguage>{
'binding',
'loop',
'for',
+ 'seq',
'doseq',
'dotimes',
'when\\-let',
@@ -99,6 +145,8 @@ export const language = <ILanguage>{
'deftest',
'are',
'use\\-fixtures',
+ 'use',
+ 'remove',
'run',
'run\\*',
'fresh',
@@ -109,7 +157,7 @@ export const language = <ILanguage>{
'thread',
],
- constants: ['true', 'false', 'nil'],
+ constants: ['true', 'false', 'nil', 'boolean', 'str'],
operators: ['=', 'not=', '<', '<=', '>', '>=', 'and', 'or', 'not', 'inc', 'dec', 'max', 'min', 'rem', 'bit-and', 'bit-or', 'bit-xor', 'bit-not'],