aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-07-17 16:39:57 +0100
committerLewis Russell <lewis6991@gmail.com>2023-07-17 17:09:16 +0100
commit6e9b204afbe5f16c44a2697aed07aafff36bf856 (patch)
tree720c0e74d41daa4f3de4bb591d56dc28258c3f0e /runtime/doc/lua.txt
parent69d49727d7766d799aa1989bf67e763258b868e6 (diff)
downloadrneovim-6e9b204afbe5f16c44a2697aed07aafff36bf856.tar.gz
rneovim-6e9b204afbe5f16c44a2697aed07aafff36bf856.tar.bz2
rneovim-6e9b204afbe5f16c44a2697aed07aafff36bf856.zip
fix: doc errors
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 3b25e2744e..fd75fdb2dd 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -826,8 +826,7 @@ vim.spell.check({str}) *vim.spell.check()*
• {str} (string)
Return: ~
- {[1]: string, [2]: string, [3]: string}[] List of tuples with three
- items:
+ `{[1]: string, [2]: string, [3]: string}[]` List of tuples with three items:
• The badly spelled word.
• The type of the spelling error: "bad" spelling mistake "rare" rare
word "local" word only valid in another region "caps" word should
@@ -914,7 +913,7 @@ vim.iconv({str}, {from}, {to}, {opts}) *vim.iconv()*
• {str} (string) Text to convert
• {from} (number) Encoding of {str}
• {to} (number) Target encoding
- • {opts} table<string,|nil any>
+ • {opts} table<string,any>|nil
Return: ~
(string|nil) Converted string if conversion succeeds, `nil` otherwise.