Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/grammar like usebruno lang #12

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

marfranke
Copy link
Contributor

@marfranke marfranke commented May 6, 2024

Updated TextMate grammar to match (mostly) the @usebruno/lang grammar

  • Add auth:* tag support (Resolves add highlighting for auth:*** #8)
  • Add patch and body:sparql blocks
  • Add syntax highlighting test file
  • Some syntax highlighter styling adjustments

image

Edit:
Known differences to @usebruno/lang, that I am not planning to change right now (but I might in the future):

  • Multiline Strings not supported by vscode syntax highlighting (Syntax Highlighting: Support Multiline Strings #15)
  • vars withour pre-request/post-response not supported by @usebruno/lang
    • Used for collection.bru, I suppose that this is intended, so I am not planning to remove that unless someone gives me a good reason
  • Blocks not starting at the begin of the line not supported by vscode syntax highlighting

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.

add highlighting for auth:***
1 participant