From 05ea35e25dcb03fc019be9ec0ede7e4782bae6b4 Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 26 Dec 2022 16:50:40 +0100 Subject: feat(functional): add strip_{prefix,suffix} (#803) --- lua/mason-core/installer/registry/expr.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/mason-core/installer/registry/expr.lua') 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, } -- cgit v1.2.3-70-g09d2