billymoon / Stylus

Stylus Package for Sublime Text 2 / 3
Other
129 stars 31 forks source link

'Enter' new line broken #43

Closed Arrogance closed 9 years ago

Arrogance commented 9 years ago

Related #12

With the last revision, the enter key doesn't work with stylus syntax enabled. Reverted to old version of " Default.sublime-keymap" and it works.

grassator commented 9 years ago

Please try to remove the package. Restart Sublime and add it again. If that doesn't help please let me know

thebearingedge commented 9 years ago

@grassator Thank you, that worked for me

Please try to remove the package. Restart Sublime and add it again. If that doesn't help please let me know

matteocontrini commented 8 years ago

I'm having the same issue, reinstalled as you mentioned but still the same. SHIFT + ENTER works.

grassator commented 8 years ago

@matteocontrini could you please give me exact Sublime version and the sequence of events that causes the failure?

matteocontrini commented 8 years ago

Build 3083. But it's strange because when writing in a .styl file, everything works fine. But in my case I need the Stylus syntax inside a .vue file, which is highlighted by vue-syntax-highlight, which uses Sublime Stylus (this repo) for highlighting the syntax. And with this configuration I'm having issues. Specifically, pressing enter at the end of the line doesn't do anything, and this happens always. Enter works when the cursor is at the beginning of the line.

grassator commented 8 years ago

Ok, now this makes a bit more sense and is probably somehow connected to that language nesting and scopes, although I'm not sure how exactly. Please create a separate issue for this and I will take a look when I have some time, hopefully this week.