Hacker News new | ask | show | jobs
by akkartik 3229 days ago
As it happens, I was moved to create this standalone repo showing off my current build setup after writing this comment: https://www.reddit.com/r/vim/comments/6l8z34/vim_betrayed_me...

So yes, eliminating tabs (or rather the execrable requirement of using tabs) was absolutely a prime goal.

2 comments

Put this in ~/.editorconfig

    [Makefile]
    indent_style = tab
And install the plugin, which is available for most editors and IDEs.

http://editorconfig.org/

It's not a requirement - I give you: .RECIPEPREFIX

> If you prefer to prefix your recipes with a character other than tab, you can set the .RECIPEPREFIX variable to an alternate character

That said, how hard is it really to disable tab expansion in your editor? I have a block of configuration dedicated to the different indentation requirements of different programming and configuration languages. In more modern editors, I don't even have to do anything at all to edit Makefiles with tabs - they come pre-configured to do the right thing.