]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Update autoload/lsp/options.vim
authorD4yvid <kkd4yv1d@gmail.com>
Wed, 26 Oct 2022 12:46:17 +0000 (09:46 -0300)
committerD4yvid <kkd4yv1d@gmail.com>
Wed, 26 Oct 2022 12:46:17 +0000 (09:46 -0300)
autoload/lsp/diag.vim
autoload/lsp/options.vim

index 01c56da50074482a607e76adbd0aba5ca1aeb48a..f6fc948f2ad73e78af291feb3fcd6249ee8c2dc1 100644 (file)
@@ -202,7 +202,11 @@ export def ShowCurrentDiag(lspserver: dict<any>)
     util.WarnMsg('No diagnostic messages found for current line')
   else
     if opt.lspOptions.showDiagInPopup
-      popup_atcursor(diag.message, { moved: 'any' })
+      popup_atcursor(
+        diag.message,
+        {
+          moved: 'any'
+        })
     else
       echo diag.message
     endif
index 82bf588f7c9ec3a9fc92ecfd26f03d39ed13c412..cf81bfca05a68759442d272394273a06c1c92c3d 100644 (file)
@@ -35,7 +35,7 @@ export var lspOptions: dict<any> = {
   # Don't print message when a configured language server is missing.
   ignoreMissingServer: false,
   # Make diagnostics show in a popup instead of echoing
-  showDiagInPopup: true
+  showDiagInPopup: false
 }
 
 # set LSP options from user provided options