From 90dff5851b388f2734970519b0325ecb7b205c2e Mon Sep 17 00:00:00 2001 From: Ghaith Tarawneh Date: Tue, 18 Oct 2022 10:22:12 +0100 Subject: [PATCH 1/2] Remove file_extensions from JS syntax --- javascript.sublime-syntax | 1 - 1 file changed, 1 deletion(-) diff --git a/javascript.sublime-syntax b/javascript.sublime-syntax index 8860ad7..c51ae47 100644 --- a/javascript.sublime-syntax +++ b/javascript.sublime-syntax @@ -2,7 +2,6 @@ --- # http://www.sublimetext.com/docs/3/syntax.html name: JavaScript (Babel) -file_extensions: [js, jsx, babel, es6] first_line_match: ^#!\s*/.*\b(node|js)$\n? scope: source.js From 9b6d85874d13eec43735084af001020625dcfe49 Mon Sep 17 00:00:00 2001 From: Ghaith Tarawneh Date: Tue, 18 Oct 2022 10:22:53 +0100 Subject: [PATCH 2/2] Add basic tmPreferences file --- pegjs.tmPreferences | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pegjs.tmPreferences diff --git a/pegjs.tmPreferences b/pegjs.tmPreferences new file mode 100644 index 0000000..7c7b044 --- /dev/null +++ b/pegjs.tmPreferences @@ -0,0 +1,20 @@ + + + + + scope + source.pegjs + settings + + shellVariables + + + name + TM_COMMENT_START + value + // + + + + +