aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-08-19 22:18:11 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2024-08-19 22:18:11 -0700
commitcb18bb8044c44518ab34569f87518dd93bd27ca9 (patch)
tree74132fe3cb78ca8e47d5754752b96e04e633db94
parent42b53fcb83fd8d597e1a1dc08f6db72de58f4f46 (diff)
doc: note that we are using vim.system instead of jobstart
-rw-r--r--doc/debugging.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/debugging.md b/doc/debugging.md
index a9bf2b3..faabe90 100644
--- a/doc/debugging.md
+++ b/doc/debugging.md
@@ -21,7 +21,7 @@ buffer contents with that output. There are a few fancy things happening with [m
diffs](advanced_topics.md#minimal-format-diffs), but in practice there are almost never problems
with that system so you can mostly ignore it.
-Conform runs the formatters using `:help jobstart()`, and does one of two things. Some formatters
+Conform runs the formatters using `:help vim.system()`, and does one of two things. Some formatters
support formatting _from_ stdin and _to_ stdout. For these, we pipe the buffer text to the process
via stdin, and read the stdout back as the new buffer contents. For formatters that don't support
stdin/out, we create a temporary file in the same directory, write the buffer to it, run the
@@ -67,7 +67,7 @@ run. It should look like this:
21:50:31[DEBUG] Run default CWD: /Users/stevearc/dotfiles/vimplugins/conform.nvim
```
-This is logging the lua table that is passed to `jobstart()`. The first thing to do is to take this
+This is logging the lua table that is passed to `vim.system()`. The first thing to do is to take this
command and run it directly in your shell and see what happens. For formatters using stdin/out, it
will look like this: