comparison vim/vimrc @ 306:7a47a1cc8687

Why the fuck was I doing that.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 29 Jul 2015 00:48:02 -0700
parents a333541a5c74
children b09d451f3516
comparison
equal deleted inserted replaced
305:a333541a5c74 306:7a47a1cc8687
579 579
580 function! s:StripTrailingWhitespaces() abort 580 function! s:StripTrailingWhitespaces() abort
581 let l = line(".") 581 let l = line(".")
582 let c = col(".") 582 let c = col(".")
583 %s/\s\+$//e 583 %s/\s\+$//e
584 let @/=''
585 call cursor(l, c) 584 call cursor(l, c)
586 endfunction 585 endfunction
587 586
588 function! s:FindProjectRoot(cur, marker) abort 587 function! s:FindProjectRoot(cur, marker) abort
589 let l:cur = a:cur 588 let l:cur = a:cur