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 -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -

python - PyInstaller UAC not working in onefile mode -