diff options
author | James McCoy <jamessan@jamessan.com> | 2016-08-19 21:42:42 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-08-20 23:55:26 -0400 |
commit | c317fc20b01e77b22b4b1f2a3b0eceb7ed4f8eba (patch) | |
tree | ea2900718c45a8b56450ea3f5ba0e9396eb46ff6 /test/functional/viml/function_spec.lua | |
parent | d9ab9160b8b306ca36cb52b57fc95a1c922a42d5 (diff) | |
download | rneovim-c317fc20b01e77b22b4b1f2a3b0eceb7ed4f8eba.tar.gz rneovim-c317fc20b01e77b22b4b1f2a3b0eceb7ed4f8eba.tar.bz2 rneovim-c317fc20b01e77b22b4b1f2a3b0eceb7ed4f8eba.zip |
ex_cmds: Factor pieces of functionality out of do_sub
* sub_joining_lines: Optimization for :%s/\n//
* sub_grow_buf: Allocation of buffer to contain replacement text
* sub_parse_flags: Parse {flags} from :s command into subflags_T
Although this doesn't reduce do_sub's size enough to satisfy lint, it
covers the more straightforward pieces.
Diffstat (limited to 'test/functional/viml/function_spec.lua')
0 files changed, 0 insertions, 0 deletions