Skip to content

Commit 3349cdc

Browse files
committed
Hotfix on_text_document_did_save() (#455)
1 parent cc6074a commit 3349cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function! s:on_text_document_did_save() abort
194194
" We delay the callback by one loop iteration as calls to ensure_flush
195195
" can introduce mmap'd file locks that linger on Windows and collide
196196
" with the second lang server call preventing saves (see #455)
197-
call s:ensure_flush(l:buf, l:server_name, {result->timer_start(0, {result->s:call_did_save(l:buf, l:server_name, result, function('s:Noop'))})})
197+
call s:ensure_flush(l:buf, l:server_name, {result->timer_start(0, {timer->s:call_did_save(l:buf, l:server_name, result, function('s:Noop'))})})
198198
endfor
199199
endfunction
200200

0 commit comments

Comments
 (0)