coc-pyright: Only critical errors are now underlined
Issue is due to a breaking change in coc.nvim. See: https://github.com/neoclide/coc.nvim/issues/3185
What’s the output of :CocCommand pyright.version
coc-pyright 1.1.154 with Pyright 1.1.154
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 23 (21 by maintainers)
@dob9601 coc used to do a simple hack: if LS returns empty range, for example (3, 3, 3, 3), starts with line 3 char 3, ends with line 3 char 3, coc would add one char to the end, made it to (3, 3, 3, 4). This hack has been removed in https://github.com/neoclide/coc.nvim/pull/3147, this is the breaking change.
Maybe we can add this range format in coc-pyright.