Skip to content

Add escape sequence highlighting, configurable verbosity on hover and refactor semantic tokens#34

Merged
Pollux12 merged 14 commits into
mainfrom
feat/escape-sequence-highlight
Jun 7, 2026
Merged

Add escape sequence highlighting, configurable verbosity on hover and refactor semantic tokens#34
Pollux12 merged 14 commits into
mainfrom
feat/escape-sequence-highlight

Conversation

@Pollux12

@Pollux12 Pollux12 commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Changes:

  • Add better startup handling and logging.
  • Add escape string support to semantic highlighting.
  • Add better nested table hovers.
  • Add support for custom logging directory.
  • Add support for hover verbosity levels, remove old verbosity setting.
  • Refactor literal / known table handling.
    • Support for literal table values in known complex tables rather than collapsing to generic type table.
    • Support for appending to known table with more values, rather than raising diagnostic.
    • Support tables being modified and changed dynamically, rather than assuming static.
  • Fix for loops sometimes giving nil on attempted index
image

Closes #31

Pollux12 and others added 13 commits June 3, 2026 12:23
Split regular string tokens into per-segment semantic tokens so editors
can color escape sequences distinctly from the surrounding text. Valid
escapes are emitted as STRING + MODIFICATION and invalid ones as
STRING + DEPRECATED; literal runs (including quotes) stay STRING. Long
strings are left as a single STRING token since they do not process
escapes.

The recognized escape forms mirror the parser's string_analyzer so
highlighting matches what is actually accepted: simple escapes, \z,
line continuations, decimal \ddd, hex \xXX, and unicode \u{...}.

Closes #31

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 7, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
GLuaLS 🟢 Ready View Preview Jun 7, 2026, 5:36 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Pollux12 Pollux12 merged commit 1a24c0d into main Jun 7, 2026
17 checks passed
@Pollux12 Pollux12 deleted the feat/escape-sequence-highlight branch June 7, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion]: Display escape sequences separately in strings

1 participant