1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-27 05:20: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"
# Do a parallel build and enable output combining
MAKEFLAGS="-j$(nproc) -Otarget"
MAKEFLAGS="-j$(nproc) -Otarget -k"
# Use parallel compression
COMPRESSXZ=(nice xz -c -z -T 0 -)

View File

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