1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 09:35:01 +08:00

Updated plugins

This commit is contained in:
Amir
2021-07-30 22:52:54 +02:00
parent a8f0b6f678
commit 65de68fa88
66 changed files with 1368 additions and 404 deletions

View File

@ -24,12 +24,8 @@
" POSSIBILITY OF SUCH DAMAGE.
"
if v:version < 700
finish
endif
" check whether this script is already loaded
if exists("g:loaded_EditorConfig")
" check for Vim versions and duplicate script loading.
if v:version < 700 || exists("g:loaded_EditorConfig")
finish
endif
let g:loaded_EditorConfig = 1
@ -507,7 +503,7 @@ function! s:TrimTrailingWhitespace() " {{{1
" don't lose user position when trimming trailing whitespace
let s:view = winsaveview()
try
silent! keeppatterns %s/\s\+$//e
silent! keeppatterns keepjumps %s/\s\+$//e
finally
call winrestview(s:view)
endtry