We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
:call
1 parent e014708 commit 1485657Copy full SHA for 1485657
1 file changed
plugin/editorconfig.vim
@@ -101,14 +101,14 @@ function! s:DisableShellSlash(bufnr) " {{{2
101
let l:shell = getbufvar(a:bufnr, '&shell')
102
if has('win32') && empty(matchstr(l:shell, 'sh'))
103
let s:old_shellslash = getbufvar(a:bufnr, '&shellslash')
104
- setbufvar(a:bufnr, '&shellslash', 0)
+ call setbufvar(a:bufnr, '&shellslash', 0)
105
endif
106
endfunction " }}}2
107
108
function! s:ResetShellSlash(bufnr) " {{{2
109
" reset shellslash to the user-set value, if any
110
if exists('s:old_shellslash')
111
- setbufvar(a:bufnr, '&shellslash', s:old_shellslash)
+ call setbufvar(a:bufnr, '&shellslash', s:old_shellslash)
112
unlet! s:old_shellslash
113
114
0 commit comments