From b18028d9b07125e07c5e3ae3e8ce4b86259eb411 Mon Sep 17 00:00:00 2001 From: Wee Bit Date: Wed, 9 Aug 2023 01:14:50 +0300 Subject: [PATCH] Add support for JSDoc 3.5.0 @access package Fixes #986 --- TypeScript.YAML-tmLanguage | 2 +- TypeScript.tmLanguage | 2 +- TypeScriptReact.tmLanguage | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TypeScript.YAML-tmLanguage b/TypeScript.YAML-tmLanguage index 9a422a69..ab38876d 100644 --- a/TypeScript.YAML-tmLanguage +++ b/TypeScript.YAML-tmLanguage @@ -2952,7 +2952,7 @@ repository: (?x) ((@)(?:access|api)) \s+ - (private|protected|public) + (private|protected|package|public) \b captures: '1': { name: storage.type.class.jsdoc } diff --git a/TypeScript.tmLanguage b/TypeScript.tmLanguage index df178b30..687d119c 100644 --- a/TypeScript.tmLanguage +++ b/TypeScript.tmLanguage @@ -9003,7 +9003,7 @@ (?x) ((@)(?:access|api)) \s+ -(private|protected|public) +(private|protected|package|public) \b captures diff --git a/TypeScriptReact.tmLanguage b/TypeScriptReact.tmLanguage index 28c6d211..3fdc14d2 100644 --- a/TypeScriptReact.tmLanguage +++ b/TypeScriptReact.tmLanguage @@ -8951,7 +8951,7 @@ (?x) ((@)(?:access|api)) \s+ -(private|protected|public) +(private|protected|package|public) \b captures