Skip to content

Commit 406be2b

Browse files
authored
Add LanguageClient_textDocument_formatting_sync function (#1077)
1 parent a9231fd commit 406be2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/LanguageClient.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ function! LanguageClient_textDocument_formatting(...)
5050
return call('LanguageClient#textDocument_formatting', a:000)
5151
endfunction
5252

53+
function! LanguageClient_textDocument_formatting_sync(...)
54+
return call('LanguageClient#textDocument_formatting_sync', a:000)
55+
endfunction
56+
5357
function! LanguageClient_textDocument_rangeFormatting(...)
5458
return call('LanguageClient#textDocument_rangeFormatting', a:000)
5559
endfunction

0 commit comments

Comments
 (0)