fix function def
This commit is contained in:
parent
e5e235f95c
commit
74539e657e
|
|
@ -49,7 +49,7 @@
|
|||
("\\b[A-Z][a-zA-Z0-9_]*\\b" . font-lock-type-face)
|
||||
|
||||
;; Function definitions: "function name(...)"
|
||||
("\\_<function\\>\\s-+\\([\\w+\\)(" (1 font-lock-function-name-face))
|
||||
("\\_<function\\>\\s-+\\(\\w+\\)\\s-*(" (1 font-lock-function-name-face))
|
||||
|
||||
;; Numbers (Integers and Floats)
|
||||
("\\b-?[0-9]+\\(?:\\.[0-9]+\\)?\\(?:[eE][+-]?[0-9]+\\)?\\b" . font-lock-constant-face)
|
||||
|
|
|
|||
Loading…
Reference in New Issue