brianc/jade-mode

Tab vs. spaces and maximum indent issues

sdether opened this issue · 3 comments

Not sure if it's an emacs config issue or jade-mode issue.

First should jade mode be using tabs or spaces. I noticed that my space indented files should all element names in red, but even your example.jade mixes spaces and tabs.

Second while Shift-Tab works great, Tab always only indents to the very first level and with leading # inserts a space, i.e. in the example.jade file if i hit tab at the beginning of the #container line i get this

    #container
^

[tab]

    #container
     ^

[tab]

#container
^

[tab]

  #container
  ^

[tab]

  #container
   ^

[tab]

  # container
    ^

And after that all the [tab] hitting will not move it further

I don't use emacs anymore actually. I switched to vim. Blasphemy, right? Anyways...feel free to fork this & do as you please. If you'd like to submit pull requests I'd be happy to maintain a "master copy" of the repo.

I am shocked that you don't use emacs any more.

So OLD! Closing as stale/fixed, please reopen if you can still reproduce the issue.