abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.21k stars 133 forks source link

`lispy-tab` doesn't respect `indent-tabs-mode` #668

Open floyza opened 1 year ago

floyza commented 1 year ago

If indent-tabs-mode is enabled, then lispy-tab (and by extension special-lispy-tab) will still insert spaces. For example, with this block of code:

(print (+ 1
2
(*
3
4)))

If tab-width is set to 8, and indent-tabs-mode is enabled, indent-region will add tabs in each line, while lispy-tab will only add spaces. Furthermore, lispy-tab will actually convert tabs into spaces.