Merge pull request #4 from BSathvik/vik/startup_time

This commit is contained in:
Ali Almohaya 2022-10-16 07:51:52 +03:00 committed by GitHub
commit cb378a6d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,12 +3,12 @@ if vim.g.openingh then
end
vim.g.openingh = true
require("openingh").setup()
local openingh = require("openingh")
vim.api.nvim_create_user_command("OpenInGHFile", function()
require("openingh"):openFile()
openingh:openFile()
end, {})
vim.api.nvim_create_user_command("OpenInGHRepo", function()
require("openingh"):openRepo()
openingh:openRepo()
end, {})