[geany/geany] 9fdb01: javascript: Partial highlighting of ES6 template strings

Colomban Wendling git-noreply at xxxxx
Sun Dec 18 16:38:37 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 18 Dec 2016 16:38:37 UTC
Commit:      9fdb014b073f9035bc8df9b843213a9d1e997ccb
             https://github.com/geany/geany/commit/9fdb014b073f9035bc8df9b843213a9d1e997ccb

Log Message:
-----------
javascript: Partial highlighting of ES6 template strings

This doesn't support nested templates or escaped `es, but at least
handles the most obvious cases for now.

Part of #934.


Modified Paths:
--------------
    data/filedefs/filetypes.javascript

Modified: data/filedefs/filetypes.javascript
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -7,6 +7,8 @@ primary=break case catch class const continue default delete do each else extend
 secondary=Array Boolean Date Function Math Number Object String RegExp EvalError Error RangeError ReferenceError SyntaxError TypeError URIError constructor prototype decodeURI decodeURIComponent encodeURI encodeURIComponent eval isFinite isNaN parseFloat parseInt
 
 [lexer_properties=C]
+# partially handles ES6 template strings
+lexer.cpp.backquoted.strings=1
 
 [settings]
 # default extension used when saving files



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list