tajmone / ST4-Asciidoctor

AsciiDoc Package for SublimeText 4
https://tajmone.github.io/ST4-Asciidoctor
MIT License
11 stars 6 forks source link

Syntax scope adjustments for block ID (anchors/links) and for heading levels #45

Closed polyglot-jones closed 6 months ago

polyglot-jones commented 6 months ago
  1. Enabled "Goto Definition", "Goto reference", and "Goto symbol" to work between block IDs (anchors) and xref links. -- which involved changing the block ID (anchor) scope from "markup.underline.blockid.id" to "entity.name.label" (per the syntax naming guidelines).

  2. Removed the extraneous "level" from "markup.heading.level.1.asciidoc", "markup.heading.level.2.asciidoc", etc. to align with what the color schemes expect (e.g. the Monokai and Breakers schemes set one color for all "markup.heading" and a second color for "markup.heading.1" in particular, and Celeste also sets a third color for "markup.heading.2").

polyglot-jones commented 6 months ago

False start. Will resubmit.