diff --git a/server/internal/lsp/server/TextDocumentDidSave.go b/server/internal/lsp/server/TextDocumentDidSave.go index 7b1eae0..2f27a7d 100644 --- a/server/internal/lsp/server/TextDocumentDidSave.go +++ b/server/internal/lsp/server/TextDocumentDidSave.go @@ -6,6 +6,7 @@ import ( ) // Support "Hover" -func (h *Server) TextDocumentDidSave(ctx *glsp.Context, params *protocol.DidSaveTextDocumentParams) error { +func (s *Server) TextDocumentDidSave(ctx *glsp.Context, params *protocol.DidSaveTextDocumentParams) error { + s.RunDiagnostics(s.state, ctx.Notify, true) return nil }