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

Panel output/regex fixes. #1883

Merged
merged 2 commits into from
Oct 27, 2021
Merged

Conversation

htmue
Copy link
Contributor

@htmue htmue commented Oct 26, 2021

See commit message.

* Fixed panel result_file_regex:
  - one non-space character anchored to line start (captured)
  - followed by zero or more arbitrary characters (still captured)
  - followed by a colon anchored to line end (not captured)
  This is tight enough to skip all other lines. The old regex is too
  premissive and matches for example:
    "                  Perhaps you meant one of these:"
  which you see a lot with Haskell.

* Fixed line number formatting so that there is at least one space at
  line start guaranteed for the result_line_regex to match line
  numbers > 9999

* Adjusted file and line regex in syntaxes accordingly

* Fixed multi-line diagnostic indentation (just one more)
@rwols rwols merged commit b7114c4 into sublimelsp:main Oct 27, 2021
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.

4 participants