Permalink
Browse files

fix.

  • Loading branch information...
1 parent 15fb0b5 commit 8d6502e030de9d7d338476f14746479b27a86176 @mattn committed Apr 27, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 autoload/ctrlp/mark.vim
View
@@ -19,11 +19,6 @@ else
let g:ctrlp_ext_vars = [s:mark_var]
endif
-function! s:parse_line(line)
- let mx = '^\s*\(\d\+\)\s\+\(\d\+\)\s\+\(\d\+\)\s\+\(.*\)$'
- let cols = map(range(1, 4), "substitute(a:line, mx, '\\'.v:val, '')")
-endfunction
-
function! ctrlp#mark#init()
let s = ''
redir => s
@@ -34,7 +29,7 @@ endfunc
function! ctrlp#mark#accept(mode, str)
call ctrlp#exit()
- exe "normal! g'".matchstr(a:str, '^\s*\zs.\ze\s.*')
+ exe "normal! g'".matchstr(a:str, '^\s*\zs\S\+\ze\s.*')
endfunction
function! ctrlp#mark#exit()

0 comments on commit 8d6502e

Please sign in to comment.