diff options
| author | adamdottv <[email protected]> | 2025-05-01 06:43:30 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-01 06:43:30 -0500 |
| commit | 769dff00ba8d643ffca7eaf772ddace4192b7fb3 (patch) | |
| tree | 637e688471a4ddb8fba07158c715a854f744b268 /internal | |
| parent | d1be7a984e5e761cd96f7885b4d5f6e985ee00ce (diff) | |
| download | opencode-769dff00ba8d643ffca7eaf772ddace4192b7fb3.tar.gz opencode-769dff00ba8d643ffca7eaf772ddace4192b7fb3.zip | |
fix: don't mark as init
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/lsp/discovery/integration.go | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/internal/lsp/discovery/integration.go b/internal/lsp/discovery/integration.go index 2694fe58e..7820b6449 100644 --- a/internal/lsp/discovery/integration.go +++ b/internal/lsp/discovery/integration.go @@ -49,24 +49,18 @@ func IntegrateLSPServers(workingDir string) error { Command: serverInfo.Path, Args: serverInfo.Args, } - logging.Info("Added LSP server to configuration", - "language", langID, - "command", serverInfo.Command, + logging.Info("Added LSP server to configuration", + "language", langID, + "command", serverInfo.Command, "path", serverInfo.Path) } else { - logging.Warn("LSP server not available", - "language", langID, - "command", serverInfo.Command, + logging.Warn("LSP server not available", + "language", langID, + "command", serverInfo.Command, "installCmd", serverInfo.InstallCmd) } } - // Mark the project as initialized - if shouldInit { - if err := config.MarkProjectInitialized(); err != nil { - logging.Warn("Failed to mark project as initialized", "error", err) - } - } - return nil -}
\ No newline at end of file +} + |
