chore(go): update to use full directory instead of just main.go
This commit is contained in:
1 parent
421cf95bc6
commit
28900da6f2
1 file changed
+1
-1
@@ -49,7 +49,7 @@ M.run = function(opts)
|
|||||||
-- local exe_path = fs.fmt_path(exe, opts.python.dirs, context)
|
-- local exe_path = fs.fmt_path(exe, opts.python.dirs, context)
|
||||||
-- local full_path = vim.fs.joinpath(vim.fn.expand(root), exe_path)
|
-- local full_path = vim.fs.joinpath(vim.fn.expand(root), exe_path)
|
||||||
|
|
||||||
term.open({ "go run ", root .. "/main.go" }, opts.terminal or {}, false)
|
term.open({ "go run ", root .. "." }, opts.terminal or {}, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
---@type VernLanguageConfig
|
---@type VernLanguageConfig
|
||||||
|
|||||||
Reference in new issue
Block a user