language-pug icon indicating copy to clipboard operation
language-pug copied to clipboard

In .vue files the syntax highlighting messes up the rest of the component

Open thomhos opened this issue 8 years ago • 2 comments

Using the lang="pug" attribute somehow seems to think the whole document is written in pug.

Any plans on updating this, or am I doing something wrong here?

capture

thomhos avatar Jan 16 '17 15:01 thomhos

Remove the extra line between the last element of the template and the </template> to fix the issue. This might be a bug with language-pug, not 100% sure.

danieltian avatar Feb 11 '17 21:02 danieltian

Same here, all vue files which my colleague writed have a empty line before </template>. The empty line cause this issue. Hope fix it, thanks.

viktor-yang avatar Sep 04 '17 08:09 viktor-yang