diff --git a/JavaScript-DocBlockr.YAML-tmLanguage b/JavaScript-DocBlockr.YAML-tmLanguage new file mode 100644 index 0000000..8b5ae67 --- /dev/null +++ b/JavaScript-DocBlockr.YAML-tmLanguage @@ -0,0 +1,17 @@ +# [PackageDev] target_format: plist, ext: tmLanguage +--- +name: JavaScript DocBlockr +scopeName: source.js.docblockr +fileTypes: [js] +uuid: 27fe7d8c-8d0a-4d30-96e3-47e47b9d6b77 + +patterns: +- name: comment.block.documentation.docblockr + begin: '/\*\*' + end: '\*/' + patterns: + - name: keyword.other.docblockr + match: '@\w+' + +- include: source.js +... \ No newline at end of file diff --git a/JavaScript-DocBlockr.tmLanguage b/JavaScript-DocBlockr.tmLanguage new file mode 100644 index 0000000..475227a --- /dev/null +++ b/JavaScript-DocBlockr.tmLanguage @@ -0,0 +1,40 @@ + + + + + fileTypes + + js + + name + JavaScript DocBlockr + patterns + + + begin + /\*\* + end + \*/ + name + comment.block.documentation.docblockr + patterns + + + match + @\w+ + name + keyword.other.docblockr + + + + + include + source.js + + + scopeName + source.js.docblockr + uuid + 27fe7d8c-8d0a-4d30-96e3-47e47b9d6b77 + +