Closed zlice closed 6 months ago
Hello, thank you. I'm going to try compiling it to see if it doesn't affect anything. What tool do you use to remove those spaces?
grep -r '[[:space:]]$'
to find
sed -e 's/ $//g' -i file
in a loop to remove (cat /tmp/ws_strip | while read in ; do sed -e 's/ $//g' -i $in ; done
)
and my vimrc is something like this to match whitespace on end of line and ctrl+j to nuke it
nmap <C-j> :call TrailWhite()<CR>
fun! TrailWhite()
%s/\s\+$//g
endf
autocmd Filetype * call MyStart()
function MyStart()
match Statement /=/
2match Error /\s\+$/
highlight ColorColumn ctermbg=magenta
call matchadd('ColorColumn', '\%119v', 100)
endfunction
Nice, I will use it from now on. By the way, everything compiles and works, and the documentation is not affected either, so all is good! Thank you
i'm sorry :]
there's more non-code trailing whitespace, mostly doxygen which i assume is autogenerated. i didn't try to build after but at a glance none of it looks intentional.