From 6fad4c017cf6edcf03ddb78b82f0cfade0d26df7 Mon Sep 17 00:00:00 2001 From: Abel 'Akronix' Serrano Juste Date: Wed, 11 Jan 2017 23:05:05 +0100 Subject: [PATCH 1/3] Updated js keywords with ES6 --- data/filedefs/filetypes.javascript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/filedefs/filetypes.javascript b/data/filedefs/filetypes.javascript index 6e023408..eaedae14 100644 --- a/data/filedefs/filetypes.javascript +++ b/data/filedefs/filetypes.javascript @@ -3,8 +3,8 @@ [keywords] # all items must be in one line -primary=break case catch class const continue default delete do each else extends false finally for function get if in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype -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 +primary=break case catch class const continue debugger default delete do each else enum export extends false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype async await +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 alert [settings] # default extension used when saving files From c328051382385ea663eca73c1bb0aa1d969ef321 Mon Sep 17 00:00:00 2001 From: Abel 'Akronix' Serrano Juste Date: Wed, 11 Jan 2017 23:06:23 +0100 Subject: [PATCH 2/3] Some adjustmenys in javascript keywords: Deleted 'each' from secondary keywords --- data/filedefs/filetypes.javascript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/filedefs/filetypes.javascript b/data/filedefs/filetypes.javascript index eaedae14..e78fe2b4 100644 --- a/data/filedefs/filetypes.javascript +++ b/data/filedefs/filetypes.javascript @@ -3,7 +3,7 @@ [keywords] # all items must be in one line -primary=break case catch class const continue debugger default delete do each else enum export extends false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype async await +primary=break case catch class const continue debugger default delete do else enum export extends false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype async await 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 alert [settings] From c6984699d3fc9f7055eb25a5362afe990b9c82a6 Mon Sep 17 00:00:00 2001 From: Abel 'Akronix' Serrano Juste Date: Sat, 14 Jan 2017 21:26:36 +0100 Subject: [PATCH 3/3] Removed 'alert' from secondary keywords since it depends on a DOM environment --- data/filedefs/filetypes.javascript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/filedefs/filetypes.javascript b/data/filedefs/filetypes.javascript index e78fe2b4..3cbdac60 100644 --- a/data/filedefs/filetypes.javascript +++ b/data/filedefs/filetypes.javascript @@ -4,7 +4,7 @@ [keywords] # all items must be in one line primary=break case catch class const continue debugger default delete do else enum export extends false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype async await -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 alert +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 [settings] # default extension used when saving files