aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/installer/registry/expr.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-12-26 16:50:40 +0100
committerGitHub <noreply@github.com>2022-12-26 16:50:40 +0100
commit05ea35e25dcb03fc019be9ec0ede7e4782bae6b4 (patch)
tree2458ad78bddd6f69a348d8381119bc7bc6667142 /lua/mason-core/installer/registry/expr.lua
parentrefactor(installer): introduce PackageInstallOpts class (#802) (diff)
downloadmason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.tar
mason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.tar.gz
mason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.tar.bz2
mason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.tar.lz
mason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.tar.xz
mason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.tar.zst
mason-05ea35e25dcb03fc019be9ec0ede7e4782bae6b4.zip
feat(functional): add strip_{prefix,suffix} (#803)
Diffstat (limited to 'lua/mason-core/installer/registry/expr.lua')
-rw-r--r--lua/mason-core/installer/registry/expr.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/mason-core/installer/registry/expr.lua b/lua/mason-core/installer/registry/expr.lua
index 2713fcc4..17307ac2 100644
--- a/lua/mason-core/installer/registry/expr.lua
+++ b/lua/mason-core/installer/registry/expr.lua
@@ -20,6 +20,9 @@ local FILTERS = {
to_upper = _.to_upper,
trim = _.trim,
trim_start = _.trim_start,
+ trim_end = _.trim_end,
+ strip_prefix = _.strip_prefix,
+ strip_suffix = _.strip_suffix,
tostring = tostring,
}