Add defn- and include hyphen in boundary

pull/2748/head
masad-frost
parent 6f3c349061
commit 79eaf088de

@ -186,7 +186,7 @@ export const language = <ILanguage>{
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
[
/(?:\b(?:(def|defn|defmacro|defmulti|defonce|ns|ns-unmap|fn))\b)(\s+)((?:\w|\-|\!|\?)*)/,
/(?:\b(?:(def|defn|defn-|defmacro|defmulti|defonce|ns|ns-unmap|fn))\b)(\s+)((?:\w|\-|\!|\?)*)/,
['keyword', 'white', 'variable'],
],

Loading…
Cancel
Save