mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-27 05:20:31 +01:00
Compare commits
2 Commits
3769dadebc
...
45b1a34b18
| Author | SHA1 | Date | |
|---|---|---|---|
| 45b1a34b18 | |||
| d428751e5d |
@@ -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 -)
|
||||
|
||||
@@ -47,6 +47,9 @@ fun! StripTrailingWhitespace()
|
||||
if &ft =~ 'diff'
|
||||
return
|
||||
endif
|
||||
if expand("%:e") == 't'
|
||||
return
|
||||
endif
|
||||
%s/\s\+$//e
|
||||
endfun
|
||||
|
||||
|
||||
Reference in New Issue
Block a user