branch: elpa/typescript-mode
commit c766ec8009d5de0fcf605eac6238ea6d6c0f3d6e
Author: Sebastian Sturm <[email protected]>
Commit: Jostein Kjønigsen <[email protected]>
Include symbol constituents in typescript--function-call-re
---
typescript-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index 1ae5ebc564..5549a479a0 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -297,7 +297,7 @@ Match group 1 is MUMBLE.")
'("console"))
"Regular expression matching builtins.")
-(defconst typescript--function-call-re "\\(\\w+\\)\\(<.+>\\)?\s*("
+(defconst typescript--function-call-re
"\\(\\(?:\\w\\|\\s_\\)+\\)\\(<.+>\\)?\s*("
"Regular expression matching function calls.")
(defconst typescript--font-lock-keywords-1