parinfer / parinfer.js

Let's simplify the way we write Lisp
https://shaunlebron.github.io/parinfer
MIT License
1.76k stars 40 forks source link

Document that tab characters are converted to two spaces #117

Closed shaunlebron closed 7 years ago

shaunlebron commented 8 years ago

In reference to https://github.com/shaunlebron/parinfer/issues/116#issuecomment-239623133, I need to clarify why tab characters are transformed to two spaces (i.e. to prevent ambiguity of indentation lengths)

shaunlebron commented 8 years ago

I suppose I already documented it here https://github.com/shaunlebron/parinfer/blob/master/lib/parinfer.js.md#tab-characters, but it should be mentioned in the readme

Kurvivor19 commented 7 years ago

Probably amount of spaces should be customizeable I have seen cases (for example, when opening emacs sources with parinfer active) where that assumption wrecked files. On the other hand, i was probably using parinfer in the wrong mode

shaunlebron commented 7 years ago

i think this is a common enough convention and I can't find a place in the readme for it really.

@Kurvivor19 yeah, I think it's related to note running paren mode first