diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-13 11:34:59 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-13 12:04:36 -0400 |
commit | 163680a58ebb7d3b7c650454a3307f62e6d87f15 (patch) | |
tree | 226908e0b4033dd59b121559a44b23beb2f5bbd2 /src/nvim/eval.lua | |
parent | e346c01c314bcb8e673cef72dd761b9612ea86db (diff) | |
download | rneovim-163680a58ebb7d3b7c650454a3307f62e6d87f15.tar.gz rneovim-163680a58ebb7d3b7c650454a3307f62e6d87f15.tar.bz2 rneovim-163680a58ebb7d3b7c650454a3307f62e6d87f15.zip |
vim-patch:8.0.1630: trimming white space is not that easy
Problem: Trimming white space is not that easy.
Solution: Add the trim() function. (Bukn, closes vim/vim#1280)
https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 801d2cc468..23959f348a 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -323,6 +323,7 @@ return { tolower={args=1}, toupper={args=1}, tr={args=3}, + trim={args={1,2}}, trunc={args=1, func="float_op_wrapper", data="&trunc"}, type={args=1}, undofile={args=1}, |