From 89e27b5e7acfa274099feb2cd6dd6da010ade33a Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 21 Jun 2023 16:05:28 +0200 Subject: Remove all mentions of spellchecking from the original example. --- init.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 65a7991..8bcba8e 100644 --- a/init.lua +++ b/init.lua @@ -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) .. ")") -- cgit