Created
October 22, 2010 18:35
-
-
Save tsukkee/641125 to your computer and use it in GitHub Desktop.
autoload/kinds/jump_list.vim (2010/10/22 19:27:02, 9c0fd7eb049708de6a4e3256fb090b0072c51c68) に対するパッチです
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/autoload/unite/kinds/jump_list.vim b/autoload/unite/kinds/jump_list.vim | |
| index 15d6603..6c7b494 100644 | |
| --- a/autoload/unite/kinds/jump_list.vim | |
| +++ b/autoload/unite/kinds/jump_list.vim | |
| @@ -61,8 +61,8 @@ let s:kind.action_table.preview = { | |
| function! s:kind.action_table.preview.func(candidate)"{{{ | |
| execute 'pedit' | |
| \ (has_key(a:candidate, 'line') && a:candidate.line != '' ? '+'.a:candidate.line : '') | |
| - \ (has_key(a:candidate, 'pattern') && a:candidate.pattern != '' ? '+/'.substitute(escape(a:candidate.pattern, '\. ', 'g'), '[\[\]~/^$]', '\\\\\0', 'g') : '') | |
| - \ '`=a:candidate.word`' | |
| + \ . (has_key(a:candidate, 'pattern') && a:candidate.pattern != '' ? '+/'.substitute(escape(a:candidate.pattern, "\.\t "), '[\[\]~/^$*]', '\\\\\0', 'g') : '') | |
| + \ a:candidate.word | |
| endfunction"}}} | |
| "}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment