diff options
| author | Daniel RodrÃguez Rivero <[email protected]> | 2022-07-02 09:23:04 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-02 09:23:04 +0200 | 
| commit | 709873702f692a013f059f8f5c5532f0366df35e (patch) | |
| tree | c58ab7eb5c4b39b8e7ef93b638267081eaefbe5a /lua | |
| parent | 4c78e8a3d2af0d3fee7dd09dc0a7b7975023086b (diff) | |
feat: add commands to open/edit lvim logs (#2709)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lvim/core/commands.lua | 6 | 
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) | 
