Skip to content

syntax: Fix highlighting of nested multiline comments#169

Open
dkearns wants to merge 1 commit into
derekwyatt:masterfrom
dkearns:fix-highlighting-of-nested-multiline-comments
Open

syntax: Fix highlighting of nested multiline comments#169
dkearns wants to merge 1 commit into
derekwyatt:masterfrom
dkearns:fix-highlighting-of-nested-multiline-comments

Conversation

@dkearns
Copy link
Copy Markdown

@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
Comment thread syntax/scala.vim

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
Copy link
Copy Markdown

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