]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Wait for LspGotoImpl to complete
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 17 Jan 2022 20:43:20 +0000 (12:43 -0800)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 17 Jan 2022 20:43:20 +0000 (12:43 -0800)
test/unit_tests.vim

index e6527f726cc9f34b489a6ec3888da0340dea5e99..8c53d20402edccd4fc7b76f4ad8a50f8202b3909 100644 (file)
@@ -431,6 +431,7 @@ def Test_lsp_goto_definition()
   exe "normal! \<C-t>"
   assert_equal([24, 6], [line('.'), col('.')])
   :LspGotoImpl
+  :sleep 1
   assert_equal([15, 11], [line('.'), col('.')])
   exe "normal! \<C-t>"
   assert_equal([24, 6], [line('.'), col('.')])