diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-04-26 14:07:47 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-04-26 15:13:06 +0100 |
commit | b8273c9a339626078d49e706d882878090b07d42 (patch) | |
tree | 92684f3aff0b70b317119f1b955e93b5a25b7e90 /runtime/lua/vim/_meta/spell.lua | |
parent | c5b9fb2f256516398592c81f496dae75a036b18e (diff) | |
download | rneovim-b8273c9a339626078d49e706d882878090b07d42.tar.gz rneovim-b8273c9a339626078d49e706d882878090b07d42.tar.bz2 rneovim-b8273c9a339626078d49e706d882878090b07d42.zip |
fix: lua annotations
Diffstat (limited to 'runtime/lua/vim/_meta/spell.lua')
-rw-r--r-- | runtime/lua/vim/_meta/spell.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/spell.lua b/runtime/lua/vim/_meta/spell.lua index 57f2180895..c636db3b53 100644 --- a/runtime/lua/vim/_meta/spell.lua +++ b/runtime/lua/vim/_meta/spell.lua @@ -3,11 +3,11 @@ -- luacheck: no unused args --- Check {str} for spelling errors. Similar to the Vimscript function ---- |spellbadword()|. +--- [spellbadword()]. --- --- Note: The behaviour of this function is dependent on: 'spelllang', --- 'spellfile', 'spellcapcheck' and 'spelloptions' which can all be local to ---- the buffer. Consider calling this with |nvim_buf_call()|. +--- the buffer. Consider calling this with [nvim_buf_call()]. --- --- Example: --- @@ -20,7 +20,7 @@ --- ``` --- --- @param str string ---- @return {[1]: string, [2]: string, [3]: string}[] +--- @return {[1]: string, [2]: 'bad'|'rare'|'local'|'caps', [3]: integer}[] --- List of tuples with three items: --- - The badly spelled word. --- - The type of the spelling error: |