aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-10-14 19:50:17 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-10-14 19:50:17 -0400
commit5e86b286cf366e0db1a361d36dba4dac6d6dd843 (patch)
tree94a27c66408588e218e965e5ec55528f2671f372 /modules/textadept/editing.lua
parentfca69ee9e7b7593005d6692911dfa2d081759762 (diff)
downloadtextadept-5e86b286cf366e0db1a361d36dba4dac6d6dd843.tar.gz
textadept-5e86b286cf366e0db1a361d36dba4dac6d6dd843.zip
Experimentally move external lspawn module into Lua os module as a patch.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index b8d7e341..cf449234 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -599,7 +599,7 @@ function M.filter_through(command)
}), command)
local output = buffer.target_text
for i = 1, #commands do
- local p = assert(spawn(commands[i]))
+ local p = assert(os.spawn(commands[i]))
p:write(output)
p:close()
output = p:read('a') or ''