test/tsserver_tests.vim | 6 ++++++ diff --git a/test/tsserver_tests.vim b/test/tsserver_tests.vim index 32c4131b0825e4ec61a9613a605881199b81ea2a..9ba8bcbbc87e1d41f560ae819415613f649a8a59 100644 --- a/test/tsserver_tests.vim +++ b/test/tsserver_tests.vim @@ -59,6 +59,12 @@ assert_equal([1, 3], [line('.'), col('.')]) assert_equal('', execute('LspDiagNext')) assert_equal([1, 10], [line('.'), col('.')]) + :normal! 0 + :LspDiagThis + assert_equal([1, 3], [line('.'), col('.')]) + :LspDiagThis + assert_equal([1, 10], [line('.'), col('.')]) + g:LspOptionsSet({showDiagInPopup: false}) for i in range(1, 3) cursor(1, i)