emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 242af01 14/38: Handle @property like @param, and handle al


From: Dmitry Gutov
Subject: [elpa] master 242af01 14/38: Handle @property like @param, and handle aliases
Date: Wed, 09 Sep 2015 18:41:41 +0000

branch: master
commit 242af01793f3e07d7e2fb24ba1ff2c1a7d981beb
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Handle @property like @param, and handle aliases
    
    Fixes #255
---
 js2-mode.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 1543677..e4b4a55 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -6819,7 +6819,7 @@ of a simple name.  Called before EXPR has a parent node."
 
 (defconst js2-jsdoc-param-tag-regexp
   (concat "^\\s-*\\*+\\s-*\\(@"
-          "\\(?:param\\|argument\\)"
+          "\\(?:param\\|arg\\(?:ument\\)?\\|prop\\(?:erty\\)?\\)"
           "\\)"
           "\\s-*\\({[^}]+}\\)?"         ; optional type
           "\\s-*\\[?\\([[:alnum:]_$\.]+\\)?\\]?"  ; name
@@ -6861,7 +6861,6 @@ of a simple name.  Called before EXPR has a parent node."
              "memberOf"
              "name"
              "namespace"
-             "property"
              "since"
              "suppress"
              "this"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]