diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-18 22:04:31 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-05-19 17:30:20 +0200 |
commit | e628c011bfb58685e4a4ce7da681afda08989a7f (patch) | |
tree | 451d33c6316d038acdba7f73d41bf1cda32fa211 /src | |
parent | 53576dfb3598244afba3dbf5b60e6113109bf7c6 (diff) | |
download | rneovim-e628c011bfb58685e4a4ce7da681afda08989a7f.tar.gz rneovim-e628c011bfb58685e4a4ce7da681afda08989a7f.tar.bz2 rneovim-e628c011bfb58685e4a4ce7da681afda08989a7f.zip |
gen_vimdoc.py: support lua/shared.lua module [ci skip]
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/lua/vim.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/nvim/lua/vim.lua b/src/nvim/lua/vim.lua index 9e592e444b..69038f8c89 100644 --- a/src/nvim/lua/vim.lua +++ b/src/nvim/lua/vim.lua @@ -203,12 +203,11 @@ end --- Split a string by a given separator. --- --- Examples: ---- ---- * split(":aa::b:", ":") returns {'','aa','','bb',''} ---- ---- * split("axaby", "ab?") returns {'','x','y'} ---- ---- * split(x*yz*o, "*", true) returns {'x','yz','o'} +--- <pre> +--- split(":aa::b:", ":") --> {'','aa','','bb',''} +--- split("axaby", "ab?") --> {'','x','y'} +--- split(x*yz*o, "*", true) --> {'x','yz','o'} +--- </pre> --- --@param s String The string to split --@param sep String The separator to use (see |vim.gsplit()|) |