Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Work around &shellslash setting on Windows

  • Loading branch information...
commit 8e1812aa003be3d6c6beee666b27026a03085bc2 1 parent 071bb30
Peter Odding authored November 21, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  autoload/xolox/lua.vim
6  autoload/xolox/lua.vim
... ...
@@ -1,9 +1,9 @@
1 1
 " Vim auto-load script
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: November 15, 2011
  3
+" Last Change: November 21, 2011
4 4
 " URL: http://peterodding.com/code/vim/lua-ftplugin
5 5
 
6  
-let g:xolox#lua#version = '0.6.27'
  6
+let g:xolox#lua#version = '0.6.28'
7 7
 let s:miscdir = expand('<sfile>:p:h:h:h') . '/misc/lua-ftplugin'
8 8
 let s:omnicomplete_script = s:miscdir . '/omnicomplete.lua'
9 9
 let s:globals_script = s:miscdir . '/globals.lua'
@@ -81,7 +81,7 @@ function! xolox#lua#checksyntax() " {{{1
81 81
       let &errorformat = error_format
82 82
       let winnr = winnr()
83 83
       let filename = expand('%:t')
84  
-      execute 'silent make!' compiler_args shellescape(expand('%'))
  84
+      execute 'silent make!' compiler_args xolox#misc#escape#shell(expand('%'))
85 85
       cwindow
86 86
       if winnr() != winnr
87 87
         let message = ['Syntax errors reported by', compiler_name, compiler_args, filename]

0 notes on commit 8e1812a

Please sign in to comment.
Something went wrong with that request. Please try again.