Sublime Forum

New line with enter does not work inside <style lang="stylus">

#1

Hi,

enter key does not work inside sublime text 2 for new line when I am with the cursor at the end of the line inside style lang=“stylus” tag…

 <style lang="stylus">
     body
         background: #eee
 </style>

It works though if the stye tag is used without lang=“stylus” ? Any idea?

0 Likes

#2

and what with ST3 ? ST2 is old and not updated anymore.

0 Likes

#3

Sorry I was wrong in my question. I use Sublime Text 3, Build 3103…

0 Likes

#4

Deactivate all your packages and try again - maybe something is interfering? If it then works, you can enable them all again one by one, testing it each time to find out which package broke it for you.

0 Likes

#5

Tried this. It was Stylus package itself… I removed it and it works but now the syntax highlighting is not working inside < style lang=“stylus” > tag … which sucks.

0 Likes