We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197150c commit c35eb2bCopy full SHA for c35eb2b
1 file changed
lua/spectre/replace/sed.lua
@@ -7,7 +7,7 @@ local sed = {}
7
sed.init = function(_, config)
8
local uname = vim.loop.os_uname().sysname
9
local sed_args
10
- if uname == 'Darwin' then
+ if uname == 'Darwin' or uname == 'FreeBSD' then
11
sed_args = { '-i', '', '-e' }
12
else
13
sed_args = { '-i', '-E' }
0 commit comments