Commit Graph

5 Commits

Author SHA1 Message Date
67255b346c fix(health,checker): fix plugin display bug and remove redundant version checks
- health.lua: referenced non-existent binary.plugin field instead of
  binary.plugins array, causing plugin names to never display in
  :checkhealth output
- checker.lua: removed redundant first loop in check() that called
  get_installed_version without using the result, and eliminated dead
  remaining counter that was immediately overwritten
2026-03-02 09:03:05 +00:00
d94fee916b handle duplicate binaries 2026-02-19 01:07:47 -05:00
ded73a5073 large update 2026-02-18 23:21:33 -05:00
7ab9da9c56 feat: add auto_update config, clarify auto_install vs auto_update vs auto_check
- auto_install (default: true) — install missing binaries on register
- auto_check (default: true) — check for available updates periodically
- auto_update (default: false) — auto-update when newer versions found
- Disabling auto_check also disables auto_update
- Updated README and help docs
2026-02-19 03:24:40 +00:00
cd2571d3f2 feat: bug fixes, lazy.nvim-style controls, auto-update checking, repo polish
Phase 1 - Bug fixes:
- Fix extmark rendering in text.lua (table vs string hl handling)
- Fix timer leak: WinClosed autocmd now triggers view.close()
- Add GOBIN/GOPATH/~/go/bin awareness to is_installed() and new bin_path()
- Reject update_all() while tasks running (race condition fix)
- Implement _toggle_details with full binary info expansion

Phase 2 - Lazy.nvim-style controls:
- U = Update all, u = update cursor binary
- I = Install all missing, i = install cursor binary
- x = Abort, CR = toggle details, q/Esc = close
- Line-to-binary mapping for cursor-aware actions

Phase 3 - Auto-update checking:
- New checker module with go list/go version -m integration
- auto_check config option (daily/weekly/custom frequency)
- Persistent state in stdpath('data')/glaze/state.json
- :GlazeCheck command for manual checks
- Update indicators in UI (version info + arrows)

Phase 4 - Repo polish:
- MIT LICENSE file
- Doughnut-themed README with badges and Why Glaze? section
- Updated help docs with all new features/keybinds/API
2026-02-19 00:47:19 +00:00