3 ms·
Looking as the sh code, it appears that it will work without tab characters. https://stackoverflow.com/a/2131227/1144060 https://stackoverflow.com/a/2131227/114
by gardnr 9y ago
Looking as the sh code, it appears that it will work without tab characters. https://stackoverflow.com/a/2131227/1144060 https://stackoverflow.com/a/2131227/1144060
So there's that.
- akkartik 9y agoAs 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/djsaxwr/?context=3 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.
- Symbiote 9y agoPut this in ~/.editorconfig [Makefile] indent_style = tab And install the plugin, which is available for most editors and IDEs. http://editorconfig.org/ http://editorconfig.org/
- falcolas 9y agoIt'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.