]> Untitled Git - vimfiles.git/commitdiff
LC formatting breaks sometimes, idk
authorPhilippe Hürlimann <p@hurlimann.org>
Tue, 8 Mar 2022 15:45:48 +0000 (16:45 +0100)
committerPhilippe Hürlimann <p@hurlimann.org>
Tue, 8 Mar 2022 15:45:48 +0000 (16:45 +0100)
init.vim

index 93e0044591c2e88cd714411d22c3029811283653..0d49729416e0a59723d0eadbebe4d9d812cd2c3a 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -90,8 +90,6 @@ function LC_maps()
         nmap <buffer> <silent><Leader>lf <Plug>(lcn-format)
         nmap <buffer> <silent><Leader>ls <Plug>(lcn-symbols)
         nmap <buffer> <silent><Leader>lh <Plug>(lcn-highlight)
-
-        autocmd BufWritePre * :call LanguageClient#textDocument_formatting_sync()
     endif
 endfunction