mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-10 15:04:25 +08:00
Update monarch_language.js
This commit is contained in:
parent
a02ca6db30
commit
7b1bb9cc1f
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ const ElixirMonarchLanguage = {
|
||||||
// Note: given `def a + b, do: nil`, `a` is not a function name,
|
// Note: given `def a + b, do: nil`, `a` is not a function name,
|
||||||
// so we use negative look-ahead to ensure there's no operator.
|
// so we use negative look-ahead to ensure there's no operator.
|
||||||
[
|
[
|
||||||
/\b(defp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
|
/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
|
||||||
[
|
[
|
||||||
"keyword.declaration",
|
"keyword.declaration",
|
||||||
"white",
|
"white",
|
||||||
|
|
Loading…
Add table
Reference in a new issue