Skip to content

Commit

Permalink
fix: nvim 0.10.0 healthreport deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rktjmp committed May 19, 2024
1 parent b75fa64 commit e00d178
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion fnl/hotpot/health.fnl
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
(local uv (or vim.uv vim.loop))
(local {: report_start : report_info : report_ok : report_error} vim.health)
(local {: report_start : report_info : report_ok : report_error}
(case vim.health
;; 0.10.0+
{: ok : info : error : start} {:report_start start
:report_info info
:report_error error
:report_ok ok}
;; 0.9.0...
other other))

(fn fmt [s ...] (string.format s ...))

(fn bytes->human [bytes]
Expand Down

0 comments on commit e00d178

Please sign in to comment.