diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 03:59:57 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 03:59:57 +0200 |
| commit | c40056f2102893c4c04aa2fa2380a4146d370e81 (patch) | |
| tree | b09795dcce9e172bfb24d38ac480b27e5eedbe98 /internal/hexailsp | |
| parent | c578f367d81ce035c1f7b9c55e38101753e99de5 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/hexailsp')
| -rw-r--r-- | internal/hexailsp/run.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) != "" { |
