Commit Graph

7 Commits

Author SHA1 Message Date
mattn
516fd7ce95 diagnostics list can be v:null (#1190)
* diagnostics list can be v:null

Ref #1186

* ditto

* Small refactoring

* Use lsp#utils#iteratable for the list which possibly be v:null
2021-06-09 01:51:59 +09:00
Prabir Shrestha
268341fe60 Diagnostics refactor movements (#1004) 2021-01-02 13:59:31 -08:00
Prabir Shrestha
098509278d refactor diagnostics count to using diagnostics state (#999) 2021-01-02 00:14:05 -08:00
Prabir Shrestha
1489cf8295 Revamp diagnostics virtual text (#990) 2020-12-30 14:49:44 -08:00
Prabir Shrestha
5af4e7cdaa use buf var for buffer level diagnostics enabled flag (#983) 2020-12-27 20:23:11 -08:00
Prabir Shrestha
8f5bec6ce9 add buffer state of disabled diagnostics state (#981) 2020-12-27 18:29:22 -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