aboutsummaryrefslogtreecommitdiffstats
path: root/queries/phpdoc
diff options
context:
space:
mode:
Diffstat (limited to 'queries/phpdoc')
-rw-r--r--queries/phpdoc/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index 5cb3dba06..08ff9e1cb 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -1,4 +1,4 @@
-(tag_name) @attribute
+(tag_name) @attribute @nospell
(tag
(tag_name) @_tag (#eq? @_tag "@param")
(variable_name) @parameter
@@ -24,6 +24,8 @@
(named_type)
(optional_type)
] @type)
+(type_list) @nospell
+(variable_name) @nospell
(tag
(description (text) @text))
(tag