Re:Python with Braces
by chrismorgan on Monday July 08, 2024 @12:01AM
(#40902508)
> Nearly every editor has a "show whitespace" option. Except VIM
Sure it does. See 'list' and 'listchars'.
Which looks ugly as hell per default and I have never gotten to work quite right for me
Re:Python with Braces
by PhilipRoman on Monday July 08, 2024 @05:49AM
(#40904020)
I use something like this for my daily work vimrc:
set list listchars=tab:›\ ,multispace:·
The only thing I hate about vim's treatment of indents is having separate settings for shiftwidth and tabsize.
I still don't understand why some people don't use it. Even in non-whitespace sensitive languages, I need to see the whitespace so that I can tell if the formatting is off or not. Also make the code easier to read as I can literally see how far the code is intended instead of having to guess by amount of space.
Sure, automatic code formatting solves most of the issues but it is still good to have actual control over your whitespace.
[0] Except VIM which vexes me greatly. Might be one of the reasons whitespace sensitive languages are disliked by certain programmers?