remove trace func

pull/130/head
ray-x 2 years ago
parent 051e8b2afa
commit 58dd76bf90

@ -2,7 +2,6 @@
local M = {}
local util = require("go.utils")
local log = util.log
local trace = util.trace
local getopt = require("go.alt_getopt")
local function compile_efm()
@ -38,7 +37,7 @@ local function extract_filepath(msg)
local path = vim.fn.systemlist(cmd)
for _, value in pairs(path) do
local st, _ = value:find(s)
trace(value, st)
log(value, st)
if st then
local p = value:sub(1, st - 1)
namepath[st] = p
@ -156,7 +155,7 @@ function M.make(...)
return line
end
line = vim.fn.substitute(line, "\\%x1b\\[[0-9;]\\+[mK]", "", "g")
trace(line)
log(line)
return line
end

@ -1,6 +1,5 @@
local utils = require("go.utils")
local log = utils.log
local trace = utils.trace
local gopls = require("go.gopls")
local help_items = {}
local m = {}

@ -38,6 +38,18 @@ local function binary_check()
else
warn("sed is not installed.")
end
if vim.fn.executable('sed') == 1 then
info("sed installed.")
else
warn("sed is not installed.")
end
if vim.fn.executable('curl') == 1 then
info("curl installed.")
else
warn("curl is not installed.")
end
end
local function plugin_check()

Loading…
Cancel
Save