From c40056f2102893c4c04aa2fa2380a4146d370e81 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 16 Mar 2026 03:59:57 +0200 Subject: Add doc comments to exported types and functions Document ~30 exported types in lsp/types.go and exported functions in llm/provider.go, lsp/server.go, and hexailsp/run.go. Co-Authored-By: Claude Opus 4.6 --- internal/hexailsp/run.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/hexailsp/run.go') diff --git a/internal/hexailsp/run.go b/internal/hexailsp/run.go index ca24016..3741a5e 100644 --- a/internal/hexailsp/run.go +++ b/internal/hexailsp/run.go @@ -51,6 +51,7 @@ func Run(logPath string, stdin io.Reader, stdout io.Writer, stderr io.Writer) er return RunWithConfig(logPath, "", stdin, stdout, stderr) } +// RunWithConfig is like Run but accepts an explicit config file path. func RunWithConfig(logPath string, configPath string, stdin io.Reader, stdout io.Writer, stderr io.Writer) error { logger := log.New(stderr, "hexai-lsp-server ", log.LstdFlags|log.Lmsgprefix) if strings.TrimSpace(logPath) != "" { -- cgit v1.2.3