atom-jade icon indicating copy to clipboard operation
atom-jade copied to clipboard

Syntax coloring off after including a mixin

Open escargotprodige opened this issue 10 years ago • 2 comments

capture d ecran de 2015-04-30 10 38 20

escargotprodige avatar Apr 30 '15 14:04 escargotprodige

Problem may be centered around include. Syntax coloring is off for the remainder of the document after the following statement, for example:

style
    include style.css

However, if an empty line is placed before the above statement, this prevents the problem.

interpolack avatar May 13 '15 17:05 interpolack

The problem is not the include. It's the bare mixin call. This breaks

html
	+head
	head
		title
			foo

However, adding a line break after it:

html
	+head

	head
		title
			foo

or closing the parentheses:

html
	+head()
	head
		title
			foo

fixes highlighting.

alexchandel avatar Jan 12 '17 22:01 alexchandel