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

syntax: Fix highlighting of nested multiline comments #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkearns
Copy link

@dkearns dkearns commented Sep 19, 2021

No description provided.

@dkearns dkearns changed the title Fix highlighting of nested multiline comments syntax: Fix highlighting of nested multiline comments Sep 19, 2021
@@ -188,7 +188,7 @@ hi link scalaTypeOperator Keyword
hi link scalaTypeAnnotationParameter Function

syn match scalaShebang "\%^#!.*" display
syn region scalaMultilineComment start="/\*" end="\*/" contains=scalaMultilineComment,scalaDocLinks,scalaParameterAnnotation,scalaCommentAnnotation,scalaTodo,scalaCommentCodeBlock,@Spell keepend fold
syn region scalaMultilineComment start="/\*" end="\*/" contains=scalaMultilineComment,scalaDocLinks,scalaParameterAnnotation,scalaCommentAnnotation,scalaTodo,scalaCommentCodeBlock,@Spell keepend extend fold

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is adding extend better then removing keepend?

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.

2 participants