diff options
author | Josh Rahm <rahm@google.com> | 2022-08-18 14:02:13 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-08-18 14:02:13 -0600 |
commit | d45440a5e5424aa867ea0ba8dae7338f60065410 (patch) | |
tree | d685b8fcadb43a74203659d8d2fb84e4bbb0805b /test/functional/vimscript/null_spec.lua | |
parent | 234128e54154932d194f0ca3d09c86c9b756c390 (diff) | |
download | rneovim-d45440a5e5424aa867ea0ba8dae7338f60065410.tar.gz rneovim-d45440a5e5424aa867ea0ba8dae7338f60065410.tar.bz2 rneovim-d45440a5e5424aa867ea0ba8dae7338f60065410.zip |
Change a bit about how userreg work.
* The userreg function can now return a list. If a list is returned, the
yankreg will be set to kMTLineWise, and each element in the list will
become a line in the yankreg.
* Use tv_get_string to get strings from typevals.
* call tv_free on the tv sent to typval_to_yankreg to properly unref the
values.
Diffstat (limited to 'test/functional/vimscript/null_spec.lua')
0 files changed, 0 insertions, 0 deletions