summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Rodríguez Rivero <[email protected]>2022-07-02 09:23:04 +0200
committerGitHub <[email protected]>2022-07-02 09:23:04 +0200
commit709873702f692a013f059f8f5c5532f0366df35e (patch)
treec58ab7eb5c4b39b8e7ef93b638267081eaefbe5a
parent4c78e8a3d2af0d3fee7dd09dc0a7b7975023086b (diff)
feat: add commands to open/edit lvim logs (#2709)
-rw-r--r--lua/lvim/core/commands.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/lvim/core/commands.lua b/lua/lvim/core/commands.lua
index 80c5bb03..65f01355 100644
--- a/lua/lvim/core/commands.lua
+++ b/lua/lvim/core/commands.lua
@@ -65,6 +65,12 @@ M.defaults = {
print(require("lvim.utils.git").get_lvim_version())
end,
},
+ {
+ name = "LvimOpenlog",
+ fn = function()
+ vim.fn.execute("edit " .. require("lvim.core.log").get_path())
+ end,
+ },
}
function M.load(collection)