mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2026-06-09 15:37:30 +02:00
Update doc
This commit is contained in:
+2
-1
@@ -307,7 +307,8 @@ Format the entire document.
|
||||
|
||||
LspDocumentFormatSync *LspDocumentFormatSync*
|
||||
|
||||
Same as |LspDocumentFormat| but synchronous. Useful when running |autocmd| commands such as formatting before save.
|
||||
Same as |LspDocumentFormat| but synchronous. Useful when running |autocmd|
|
||||
commands such as formatting before save.
|
||||
|
||||
Example:
|
||||
autocmd BufWritePre <buffer> LspDocumentFormatSync
|
||||
|
||||
Reference in New Issue
Block a user