VS Code 高亮文本匹配规则优先级

VS Code Highlight Text Mate Rules Priority

有没有办法让 meta.function-call 文本匹配规则优先于 entity.name.function

在 VS Code Crystal(Ruby 类语言)中设置用 entity.name.function 标记标记的方法定义和方法调用。

我希望方法定义为粗体但方法调用不为粗体。但它不起作用,因为我无法用 meta.function-call

覆盖 entity.name.function

我的setting.json:

{
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": [
          "entity.name.function"
        ],
        "settings": { "foreground": "#3730A3", "fontStyle": "bold" }
      },
      {
        "scope": [
          "meta.function-call"
        ],
        "settings": { "foreground": "#111827", "fontStyle": "" }
      }
    ]
  }
}

指定由空格分隔的多个范围:

{
    "name": "function definition",
    "scope": [
        "entity.name.function"
    ],
    "settings": {
        "foreground": "#ff0000"
    }
},
{
    "name": "function call",
    "scope": [
        "meta.function-call entity.name.function"
    ],
    "settings": {
        "foreground": "#0000ff"
    }
},