diff options
author | Rob Pilling <robpilling@gmail.com> | 2019-10-31 23:20:33 +0000 |
---|---|---|
committer | Rob Pilling <robpilling@gmail.com> | 2019-10-31 23:21:14 +0000 |
commit | 36b4191e41788192c7fc5cef2f7b11d3bcd13880 (patch) | |
tree | 668f25c751c65c137896836405fc147d204d8222 /src | |
parent | d04ab11f24521e60278a0daed9a7d5abeeaf6f4f (diff) | |
download | rneovim-36b4191e41788192c7fc5cef2f7b11d3bcd13880.tar.gz rneovim-36b4191e41788192c7fc5cef2f7b11d3bcd13880.tar.bz2 rneovim-36b4191e41788192c7fc5cef2f7b11d3bcd13880.zip |
Document skip_colon_white()
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_docmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 48d29caf60..d3e2120721 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -1201,6 +1201,10 @@ static void get_wincmd_addr_type(char_u *arg, exarg_T *eap) } } +/// Skip colons and trailing whitespace, returning a pointer to the first +/// non-colon, non-whitespace character. +// +/// @param skipleadingwhite Skip leading whitespace too static char_u *skip_colon_white(const char_u *p, bool skipleadingwhite) { if (skipleadingwhite) { |