elixir-editors / language-elixir

Elixir language support for the Atom editor.
Other
181 stars 40 forks source link

Unnecessary extra tab character after newlines for `do` keyword #69

Closed nii236 closed 8 years ago

nii236 commented 8 years ago

Please see the gifs below:

Vim

elixir_vim

Atom

elixir_atom

keathley commented 8 years ago

I'm not able to re-create this. Are there any other settings that I should be aware of?

nii236 commented 8 years ago

Yeah! It turns that since I code a lot of Go, my tab were set to 8 spaces. I've set them to 2 spaces now and it's now behaving as expected. Thanks for getting back to me!

keathley commented 8 years ago

No problem. Sorry it took a while. You probably already know this but you can set language level tab lengths for each language package. I typically set them for things like ruby, go, or elixir where there is a standard tab length "style".