Skip to content

Glue sql bug fix#4

Merged
h-a-graham merged 5 commits into
mainfrom
glue-sql-bug-fix
Jan 22, 2026
Merged

Glue sql bug fix#4
h-a-graham merged 5 commits into
mainfrom
glue-sql-bug-fix

Conversation

@h-a-graham
Copy link
Copy Markdown
Collaborator

No description provided.

prevents linting errors related to closing parentheses in sql strings. which were false positives.
  - Fix backward quote search mistaking closing quotes for opening quotes
  - Add position validation to prevent cross-function SQL detection
  - Trim leading whitespace from multi-line SQL background highlighting
  - Extract regex patterns and magic numbers to named constants
  - Extract theme colors to class constants with accurate descriptions

  Resolves issue where commenting/uncommenting code after SQL strings
  caused false positive "unmatched parentheses" errors.
@h-a-graham
Copy link
Copy Markdown
Collaborator Author

resolves false positive linting error when using glue_sql and there are no following strings in the script.

Also improves code background highlighting to remove leading white space and is configurable on its own, alongside semantic highlighting.

@h-a-graham h-a-graham merged commit a8393a4 into main Jan 22, 2026
2 checks passed
@h-a-graham h-a-graham deleted the glue-sql-bug-fix branch January 22, 2026 13:52
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.

1 participant