Repository: neovim/neovim
File: src/nvim/highlight_group.c (C)

Code before:
  "default link CursorLineSign   SignColumn",
  "default link DiffTextAdd      DiffText",
  "default link EndOfBuffer      NonText",
  "default link FloatBorder      NormalFloat",
  "default link FloatFooter      FloatTitle",
  "default link FloatTitle       Title",
  "default link FoldColumn       SignColumn",
  "default link IncSearch        CurSearch",
  "default link LineNrAbove      LineNr",
  "default link LineNrBelow      LineNr",
  "default link MsgSeparator     StatusLine",
  "default link MsgArea          NONE",
  "default link NormalNC         NONE",
  "default link PmenuExtra       Pmenu",
  "default link PmenuExtraSel    PmenuSel",
  "default link PmenuKind        Pmenu",
  "default link PmenuKindSel     PmenuSel",
  "default link PmenuSbar        Pmenu",
  "default link PmenuBorder        Pmenu",
  "default link PmenuShadow        FloatShadow",
  "default link PmenuShadowThrough FloatShadowThrough",
  "default link PreInsert        Added",
  "default link ComplMatchIns    NONE",
  "default link ComplHint        NonText",
  "default link ComplHintMore    MoreMsg",
  "default link QueryCapture     Title",
  "default link Substitute       Search",
  "default link StatusLineTerm   StatusLine",
  "default link StatusLineTermNC StatusLineNC",
  "default link StderrMsg        ErrorMsg",
  "default link StdoutMsg        NONE",
  "default link TabLine          StatusLineNC",
  "default link TabLineFill      TabLine",
  "default link VertSplit        WinSeparator",
  "default link VisualNOS        Visual",
  "default link Whitespace       NonText",
  "default link WildMenu         PmenuSel",
  "default link WinSeparator     Normal",

  // Syntax
  "default link Character      Constant",
  "default link Number         Constant",
  "default link Boolean        Constant",
  "default link Float          Number",
  "default link Conditional    Statement",
  "default link Repeat         Statement",
  "default link Label          Statement",
  "default link Keyword        Statement",
  "default link Exception      Statement",
  "default link Include        PreProc",
  "default link Define         PreProc",

Review comment (suggestion):
This (and your update to syntax.txt) are for "core" highlights. Not every single plugin needs a new "core" highlight. The highlight group can be defined in `dev.lua`.

Or alternatively, it *would* make sense to define a new core hightlight for a more generic concept. In https://github.com/neovim/neovim/issues/32646 I suggested something like an `Attention` highlight, which fits quite well with the purpose of this query-capture.

Another option is to just use `Visual` instead of `Title`.

Code after:
  "default link CursorLineSign   SignColumn",
  "default link DiffTextAdd      DiffText",
  "default link EndOfBuffer      NonText",
  "default link FloatBorder      NormalFloat",
  "default link FloatFooter      FloatTitle",
  "default link FloatTitle       Title",
  "default link FoldColumn       SignColumn",
  "default link IncSearch        CurSearch",
  "default link LineNrAbove      LineNr",
  "default link LineNrBelow      LineNr",
  "default link MsgSeparator     StatusLine",
  "default link MsgArea          NONE",
  "default link NormalNC         NONE",
  "default link PmenuExtra       Pmenu",
  "default link PmenuExtraSel    PmenuSel",
  "default link PmenuKind        Pmenu",
  "default link PmenuKindSel     PmenuSel",
  "default link PmenuSbar        Pmenu",
  "default link PmenuBorder        Pmenu",
  "default link PmenuShadow        FloatShadow",
  "default link PmenuShadowThrough FloatShadowThrough",
  "default link PreInsert        Added",
  "default link ComplMatchIns    NONE",
  "default link ComplHint        NonText",
  "default link ComplHintMore    MoreMsg",
  "default link Substitute       Search",
  "default link StatusLineTerm   StatusLine",
  "default link StatusLineTermNC StatusLineNC",
  "default link StderrMsg        ErrorMsg",
  "default link StdoutMsg        NONE",
  "default link TabLine          StatusLineNC",
  "default link TabLineFill      TabLine",
  "default link VertSplit        WinSeparator",
  "default link VisualNOS        Visual",
  "default link Whitespace       NonText",
  "default link WildMenu         PmenuSel",
  "default link WinSeparator     Normal",

  // Syntax
  "default link Character      Constant",
  "default link Number         Constant",
  "default link Boolean        Constant",
  "default link Float          Number",
  "default link Conditional    Statement",
  "default link Repeat         Statement",
  "default link Label          Statement",
  "default link Keyword        Statement",
  "default link Exception      Statement",
  "default link Include        PreProc",
  "default link Define         PreProc",
  "default link Macro          PreProc",