mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Add ns and defn- to definitions
This commit is contained in:
parent
6f38c8fe44
commit
12294521e0
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ export const language = <ILanguage>{
|
||||||
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
|
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
|
||||||
|
|
||||||
[
|
[
|
||||||
/(?:\b(?:(def|defn|defn-|defmacro|defmulti|defonce|ns|ns-unmap|fn))\b)(\s+)((?:\w|\-|\!|\?)*)/,
|
/(?:\b(?:(ns|def|defn|defn-|defmacro|defmulti|defonce|ns|ns-unmap|fn))(?![\w-]))(\s+)((?:\w|\-|\!|\?)*)/,
|
||||||
['keyword', 'white', 'variable'],
|
['keyword', 'white', 'variable'],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue