webstorm - Why doesn't pug take this script tag as closed? -


i'm trying "translate" html file pug, , have this:

extends layout    block content       script.           system.import('main.js').catch(function (err) {               console.error(err);           }); 

the thing is, if press enter @ end of file, instead of taking script tag closed , taking me previous indent level, webstorm acting if i'm still writing code inside script tag.

how can force close tag, or doing wrong?


Comments

Popular posts from this blog

4x4 Matrix in Python -

python - PyInstaller UAC not working in onefile mode -

javascript - Building and updating array objects -