From e3ca61e5c8f1d71e62b192a7caa37769bb8d7774 Mon Sep 17 00:00:00 2001 From: Taylon Silmer Date: Sun, 3 Dec 2017 18:50:03 -0200 Subject: [PATCH] Add proper commenting for jsx --- settings/TypeScriptReact.cson | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings/TypeScriptReact.cson b/settings/TypeScriptReact.cson index 221d124..9419980 100644 --- a/settings/TypeScriptReact.cson +++ b/settings/TypeScriptReact.cson @@ -10,3 +10,10 @@ 'decreaseIndentPattern': '(?x) ^ \\s* (\\s* /[*] .* [*]/ \\s*)* [}\\])] ' + +'.meta.tag.tsx': + 'editor': + 'commentStart': '{/* ', + 'commentEnd': ' */}', + 'increaseIndentPattern': "{[^}\"']*$|\\[[^\\]\"']*$|\\([^)\"']*$|<[a-zA-Z][^/]*$|^\\s*>$", + 'decreaseIndentPattern': "^\\s*(\\s*/[*].*[*]/\\s*)*[}\\])]|^\\s*()" \ No newline at end of file