aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/vim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/lua/vim.lua')
-rw-r--r--src/nvim/lua/vim.lua11
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()|)