Commit Graph

7 Commits

Author SHA1 Message Date
Prabir Shrestha
efd07d859e Revamp diagnostics highlights (#995) 2020-12-31 23:13:19 -08:00
Prabir Shrestha
5743ae2110 Diagnostics signs revamp (#994) 2020-12-31 01:23:26 -08:00
Prabir Shrestha
1489cf8295 Revamp diagnostics virtual text (#990) 2020-12-30 14:49:44 -08:00
yaegassy
124a0a6ab9 fix typo: diagnsotics & disable (#984) 2020-12-27 22:37:01 -08:00
Prabir Shrestha
778ebd3ca2 add internal/diagnostics/state.vim (#978)
* add internal/diagnostics/state.vim

* add unit tests

* add s:enabled

* clean up diagnostics state during server exit

* remove echom

* add tests for lsp_server_exit

* reset when enable

* add notify function

* add link to diagnostics spec
2020-12-27 11:27:17 -08:00
Prabir Shrestha
9389c28ae2 migrate diagnostics float cursor to use callbag (#846)
* use callbag for diagnostics float cursor
* fix feature flag test
2020-06-26 11:15:31 -07:00
Prabir Shrestha
c245bfd7a4 use callbag (#845)
* add callbag.vim

* add diagnostics

* add comments

* implement cancel

* optimize cancelled=1

* handle more cancel cases

* use callbag for echo.vim

* rename to _enable() _disable() and also check for changedtick

* move to internal

* group lsp#request

* ignore terminal for echo

* dont bother to subscribe if diagnostics echo not enabled

* remove deprecation comment

* update callbag.vim to v0.1.0

* fix lint issues
2020-06-25 07:42:28 -07:00