From ce2a9fb89a8ceef78310a67343d79c8f3d3c27ce Mon Sep 17 00:00:00 2001 From: Tomasz N Date: Sun, 22 Oct 2023 03:21:51 +0200 Subject: fix(phpdoc): disable spell checking of attribute names (#5015) --- queries/phpdoc/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'queries/phpdoc') 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 -- cgit v1.2.3-70-g09d2