Skip to content

Commit 1485657

Browse files
authored
Add missing :call (#225)
(Originally reported by @Bakudankun.)
1 parent e014708 commit 1485657

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugin/editorconfig.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ function! s:DisableShellSlash(bufnr) " {{{2
101101
let l:shell = getbufvar(a:bufnr, '&shell')
102102
if has('win32') && empty(matchstr(l:shell, 'sh'))
103103
let s:old_shellslash = getbufvar(a:bufnr, '&shellslash')
104-
setbufvar(a:bufnr, '&shellslash', 0)
104+
call setbufvar(a:bufnr, '&shellslash', 0)
105105
endif
106106
endfunction " }}}2
107107

108108
function! s:ResetShellSlash(bufnr) " {{{2
109109
" reset shellslash to the user-set value, if any
110110
if exists('s:old_shellslash')
111-
setbufvar(a:bufnr, '&shellslash', s:old_shellslash)
111+
call setbufvar(a:bufnr, '&shellslash', s:old_shellslash)
112112
unlet! s:old_shellslash
113113
endif
114114
endfunction " }}}2

0 commit comments

Comments
 (0)