@@ -394,13 +394,16 @@ config_data! {
394394 /// Use semantic tokens for punctuations.
395395 ///
396396 /// When disabled, rust-analyzer will emit semantic tokens only for punctuation tokens when
397- /// they are tagged with modifiers.
397+ /// they are tagged with modifiers or have a special role .
398398 semanticHighlighting_punctuation_enable: bool = "false" ,
399399 /// Use specialized semantic tokens for punctuations.
400400 ///
401401 /// When enabled, rust-analyzer will emit special token types for punctuation tokens instead
402402 /// of the generic `punctuation` token type.
403403 semanticHighlighting_punctuation_specialization_enable: bool = "false" ,
404+ /// When enabled, rust-analyzer will emit a punctuation semantic token for the `!` of macro
405+ /// calls.
406+ semanticHighlighting_punctuation_separate_macro_bang: bool = "false" ,
404407 /// Use semantic tokens for operators.
405408 ///
406409 /// When disabled, rust-analyzer will emit semantic tokens only for operator tokens when
@@ -1203,6 +1206,7 @@ impl Config {
12031206 specialize_punctuation : self
12041207 . data
12051208 . semanticHighlighting_punctuation_specialization_enable ,
1209+ macro_bang : self . data . semanticHighlighting_punctuation_separate_macro_bang ,
12061210 operator : self . data . semanticHighlighting_operator_enable ,
12071211 specialize_operator : self . data . semanticHighlighting_operator_specialization_enable ,
12081212 inject_doc_comment : self . data . semanticHighlighting_doc_comment_inject_enable ,
0 commit comments