branch: master
commit 8a5f492c7ed427a3bdb1125e26a836e582bd2492
Merge: f1badee b3f74f0
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: GitHub <nore...@github.com>

    Merge pull request #425 from shicks/jsdoc
    
    Fix jsdoc highlighting for tags w/ optional braces.
---
 js2-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js2-mode.el b/js2-mode.el
index 0389833..e785ea0 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -6951,7 +6951,7 @@ of a simple name.  Called before EXPR has a parent node."
              "throws"
              "type"
              "version"))
-          "\\)\\)\\s-+\\([^ \t]+\\)")
+          "\\)\\)\\s-+\\([^ \t\n]+\\)")
   "Matches jsdoc tags with a single argument.")
 
 (defconst js2-jsdoc-empty-tag-regexp

Reply via email to