Skip to content

Commit d5bdcf5

Browse files
committed
Work around &shellslash setting on Windows
1 parent 2c9ed77 commit d5bdcf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/xolox/notes.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
" Vim auto-load script
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: November 18, 2011
3+
" Last Change: November 21, 2011
44
" URL: http://peterodding.com/code/vim/notes/
55

66
" Note: This file is encoded in UTF-8 including a byte order mark so
77
" that Vim loads the script using the right encoding transparently.
88

9-
let g:xolox#notes#version = '0.12.11'
9+
let g:xolox#notes#version = '0.12.12'
1010

1111
function! xolox#notes#shortcut() " {{{1
1212
" The "note:" pseudo protocol is just a shortcut for the :Note command.
@@ -552,7 +552,7 @@ function! s:run_scanner(keywords, matches) " {{{2
552552
call xolox#misc#msg#debug("notes.vim %s: The %s script isn't executable.", g:xolox#notes#version, scanner)
553553
else
554554
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)')
556556
let output = xolox#misc#str#trim(system(join([python] + arguments)))
557557
if !v:shell_error
558558
call extend(a:matches, split(output, '\n'))

0 commit comments

Comments
 (0)