1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-27 21:40:31 +01:00

Compare commits

..

2 Commits

2 changed files with 4 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ CXXFLAGS="${CXXFLAGS/-mtune=generic/-mtune=native}"
export RUSTFLAGS="-C target_cpu=native" export RUSTFLAGS="-C target_cpu=native"
# Do a parallel build and enable output combining # Do a parallel build and enable output combining
MAKEFLAGS="-j$(nproc) -Otarget" MAKEFLAGS="-j$(nproc) -Otarget -k"
# Use parallel compression # Use parallel compression
COMPRESSXZ=(nice xz -c -z -T 0 -) COMPRESSXZ=(nice xz -c -z -T 0 -)

View File

@@ -47,6 +47,9 @@ fun! StripTrailingWhitespace()
if &ft =~ 'diff' if &ft =~ 'diff'
return return
endif endif
if expand("%:e") == 't'
return
endif
%s/\s\+$//e %s/\s\+$//e
endfun endfun