Skip to content

fix(config): preserve explicit go command - #5

Merged
taigrr merged 2 commits into
masterfrom
cd/round2-20260821-go-cmd-override
Aug 22, 2026
Merged

taigrr merged 2 commits into
masterfrom
cd/round2-20260821-go-cmd-override

Conversation

@taigrr

@taigrr taigrr commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep explicit setup({ go_cmd = ... }) values from being overwritten by goenv auto-detection
  • add regression coverage for explicit go command preservation and omitted-command goenv detection

Tests

  • make test
  • make lint
  • git diff --check

taigrr added 2 commits August 21, 2026 06:34
vim.tbl_deep_extend merges lists by index, so a later setup() with a
shorter explicit go_cmd could retain stale trailing elements from a
prior goenv-detected value. Replace go_cmd outright and add regression
coverage.
@taigrr
taigrr merged commit 7913c17 into master Aug 22, 2026
1 check passed
@taigrr
taigrr deleted the cd/round2-20260821-go-cmd-override branch August 22, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant