File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
" Vim auto-load script
2
2
" Author: Peter Odding <peter@peterodding.com>
3
- " Last Change: November 18 , 2011
3
+ " Last Change: November 21 , 2011
4
4
" URL: http://peterodding.com/code/vim/notes/
5
5
6
6
" Note: This file is encoded in UTF-8 including a byte order mark so
7
7
" that Vim loads the script using the right encoding transparently.
8
8
9
- let g: xolox #notes#version = ' 0.12.11 '
9
+ let g: xolox #notes#version = ' 0.12.12 '
10
10
11
11
function ! xolox#notes#shortcut () " {{{1
12
12
" The "note:" pseudo protocol is just a shortcut for the :Note command.
@@ -552,7 +552,7 @@ function! s:run_scanner(keywords, matches) " {{{2
552
552
call xolox#misc#msg#debug (" notes.vim %s: The %s script isn't executable." , g: xolox #notes#version , scanner)
553
553
else
554
554
let arguments = [scanner, g: notes_indexfile , g: notes_directory , a: keywords ]
555
- call map (arguments, ' shellescape (v:val)' )
555
+ call map (arguments, ' xolox#misc#escape#shell (v:val)' )
556
556
let output = xolox#misc#str#trim (system (join ([python ] + arguments)))
557
557
if ! v: shell_error
558
558
call extend (a: matches , split (output, ' \n' ))
You can’t perform that action at this time.
0 commit comments