diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-06-21 16:05:28 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-06-21 16:05:28 +0200 |
commit | 89e27b5e7acfa274099feb2cd6dd6da010ade33a (patch) | |
tree | f837639a074ae4ef94260aa371e907d49c02058a | |
parent | 6581c96b6b347536d84029db39909c5d72a00848 (diff) | |
download | vis-par-89e27b5e7acfa274099feb2cd6dd6da010ade33a.tar.gz |
Remove all mentions of spellchecking from the original example.
-rw-r--r-- | init.lua | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -48,12 +48,11 @@ local supress_stdout = " >/dev/null" local supress_stderr = " 2>/dev/null" local supress_output = supress_stdout .. supress_stderr --- Return nil or a string of misspelled word in a specific file range or text --- by calling the spellchecker's list command. --- If given a range we will use vis:pipe to get our typos from the spellchecker. --- If a string was passed we call the spellchecker ourself and redirect its stdout +-- Return nil or a string of formatted text from a specific file range or text +-- by calling the formatter command. +-- If given a range we will use vis:pipe to get the output from the formatter. +-- If a string was passed we call the formatter ourself and redirect its stdout -- to a temporary file. See http://lua-users.org/lists/lua-l/2007-10/msg00189.html. --- The returned string consists of each misspell followed by a newline. local function run_shell_cmd(cmd, params, inp) local out print("cmd = " .. cmd .. ", params = " .. params .. ", inp = " .. inp .. ", (" .. type(inp) .. ")") |