]> git.lizzy.rs Git - micro.git/commitdiff
Drop unnecessary Ftoa and FtoaWithDigits function (#1751)
authorUtkarsh Gupta <utkarsh@debian.org>
Tue, 30 Jun 2020 17:19:27 +0000 (22:49 +0530)
committerGitHub <noreply@github.com>
Tue, 30 Jun 2020 17:19:27 +0000 (13:19 -0400)
Fixes: #1749
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
internal/lua/lua.go
runtime/help/plugins.md

index 644795a6e249d0741f55fd3e17e2e861f6e95996..9e5025330f1b1a0bc898a1d9a4df06d45cbf74ec 100644 (file)
@@ -567,8 +567,6 @@ func importHumanize() *lua.LTable {
 
        L.SetField(pkg, "Bytes", luar.New(L, humanize.Bytes))
        L.SetField(pkg, "Ordinal", luar.New(L, humanize.Ordinal))
-       L.SetField(pkg, "Ftoa", luar.New(L, humanize.Ftoa))
-       L.SetField(pkg, "FtoaWithDigits", luar.New(L, humanize.FtoaWithDigits))
 
        return pkg
 }
index 3e651c0151096c15317ff4d7fecb269e27b28678..e089915b3c1a1d166dd170867968906d11e1aedd 100644 (file)
@@ -364,8 +364,6 @@ The following functions are also available from the go-humanize package:
 The `humanize` package exposes:
 * `Bytes`
 * `Ordinal`
-* `Ftoa`
-* `FtoaWithDigits`
 
 ## Adding help files, syntax files, or colorschemes in your plugin