From 71f46180e4f174f93e7be93201a262cdbede49c4 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sun, 30 Jan 2022 13:51:08 -0500 Subject: [PATCH] Use sync formatting for kak-lsp hook --- home/kakoune/kakrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/kakoune/kakrc b/home/kakoune/kakrc index 806e8f5..34b0bd6 100644 --- a/home/kakoune/kakrc +++ b/home/kakoune/kakrc @@ -104,7 +104,7 @@ hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c } hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|haskell|nix) %{ # Format the document if possible - hook window BufWritePre .* %{ lsp-formatting } + hook window BufWritePre .* %{ lsp-formatting-sync } } hook global WinSetOption filetype=(rust|go) %{