diff --git a/Commands/Reformat Document : Selection.tmCommand b/Commands/Reformat Document : Selection.tmCommand index 644f3ba..1c9c617 100644 --- a/Commands/Reformat Document : Selection.tmCommand +++ b/Commands/Reformat Document : Selection.tmCommand @@ -5,7 +5,7 @@ beforeRunningCommand nop command - #!/usr/bin/env python + #!/usr/bin/env python3 import os import sys diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index 791b1b6..7ee32ed 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -414,6 +414,19 @@ \*/ name comment.block.documentation.js + + patterns + + + + match + (?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|default[vV]alue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extension[fF]or|external|field|file|file[oO]verview|final|fires|for|function|global|host|ignore|implements|inherit[dD]oc|inner|instance|interface|kind|lends|license|link|listens|main|member|member[oO]f|method|mixex|mixins?|module|name|namespace|no[cC]ollapse|no[sS]ide[eE]ffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|TODO|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|write[oO]nce)\b + name + keyword.other.documentation.js.jsdoc + + begin