z_mirror/luapls
git clone https://git.raiguard.me/z_mirror/luapls
442023c
main
1package ast 2 3import ( 4"fmt" 5 6"github.com/raiguard/luapls/lua/token" 7 protocol"github.com/tliron/glsp/protocol_3_16" 8) 9 10type Diagnostic struct { 11Message string 12Range token.Range 13Severity protocol.DiagnosticSeverity 14} 15 16func (pe * Diagnostic )String ()string { 17return fmt .Sprintf ("%s: %s" ,& pe .Range ,pe .Message ) 18}