mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
bc5dfda441
Problem: trim(): hard to use default mask (partly revert v9.0.2040) Solution: use default mask when it is empty The default 'mask' value is pretty complex, as it includes many characters. Yet, if one needs to specify the trimming direction, the third argument, 'trim()' currently requires the 'mask' value to be provided explicitly. Currently, an empty 'mask' will make 'trim()' call return 'text' value that is passed in unmodified. It is unlikely that someone is using it, so the chances of scripts being broken by this change are low. Also, this reverts commit 9.0.2040 (which uses v:none for the default and requires to use an empty string instead). closes: vim/vim#13358 |
||
---|---|---|
.. | ||
api_keysets.lua | ||
api.lua | ||
builtin_types.lua | ||
builtin.lua | ||
diff.lua | ||
json.lua | ||
lpeg.lua | ||
misc.lua | ||
mpack.lua | ||
options.lua | ||
regex.lua | ||
spell.lua | ||
vimfn.lua |