We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am editing a coffee-script file, so am using coffee-mode
The indents keeps doubling... so 4, 8, 16, 32 .... the further I nest...
https://emacs.stackexchange.com/questions/41072/spacemacs-coffee-mode-indents-keeps-doubling?noredirect=1#comment64517_41072
Thanks!
.coffee
[ RET
Observed behaviour: 👀 💔
The indents keeps doubling.
Expected behaviour: ❤️ 😄
Only indent 2 spaces per level.
(react python vimscript asciidoc html javascript markdown clojure helm emacs-lisp neotree (keyboard-layout :variables kl-layout 'colemak-hnei) themes-megapack)
<<BACKTRACE IF RELEVANT>>
mirror of: syl20bnr/spacemacs#10602
The text was updated successfully, but these errors were encountered:
I don't think this is being actively maintained.
Sorry, something went wrong.
It is probably spacemacs fuck up!
My patch:
diff --git a/coffee-mode.el b/coffee-mode.el index a2ce3fa..6998d2a 100644 --- a/coffee-mode.el +++ b/coffee-mode.el @@ -892,6 +892,10 @@ END lie." (coffee-indent-shift-amount start end 'right)))) (indent-rigidly start end amount))) +(defun indent-for-tab-command () + (interactive + (call-interactively 'coffee-indent-shift-right))) + (defun coffee-indent-region (start end) (interactive "r") (save-excursion
Activate indent-tabs-mode if you use coffe-indent-tabs-mode
indent-tabs-mode
coffe-indent-tabs-mode
redefine indent-for-tab-command to fix Coffee-mode, indents keeps dou…
b1866b9
…bling defunkt#369 issue
No branches or pull requests
Description
I am editing a coffee-script file, so am using coffee-mode
The indents keeps doubling... so 4, 8, 16, 32 .... the further I nest...
https://emacs.stackexchange.com/questions/41072/spacemacs-coffee-mode-indents-keeps-doubling?noredirect=1#comment64517_41072
Thanks!
Reproduction guide 🪲
.coffee
file with spacemacs[ RET
(right bracket auto-inserted)[ RET
(right bracket auto-inserted) again[ RET
(right bracket auto-inserted) and again...Observed behaviour: 👀 💔
The indents keeps doubling.
Expected behaviour: ❤️ 😄
Only indent 2 spaces per level.
System Info 💻
Backtrace 🐾
mirror of: syl20bnr/spacemacs#10602
The text was updated successfully, but these errors were encountered: