From e628c011bfb58685e4a4ce7da681afda08989a7f Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 18 May 2019 22:04:31 +0200 Subject: gen_vimdoc.py: support lua/shared.lua module [ci skip] --- src/nvim/lua/vim.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') 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'} +---
+---  split(":aa::b:", ":")     --> {'','aa','','bb',''}
+---  split("axaby", "ab?")     --> {'','x','y'}
+---  split(x*yz*o, "*", true)  --> {'x','yz','o'}
+--- 
--- --@param s String The string to split --@param sep String The separator to use (see |vim.gsplit()|) -- cgit