mattn / efm-langserver

General purpose Language Server
MIT License
1.34k stars 61 forks source link

Fix cases without line number #212

Closed Matts966 closed 2 years ago

Matts966 commented 2 years ago

If %l is empty, the Lnum will be 0 and diagnostic location will be on line -1. This makes diagnostics invisible in some clients such as Visual Studio Code.

mattn commented 2 years ago

Thank you