chore: initial commit

This commit is contained in:
Ali Almohaya 2022-09-25 23:30:27 +03:00
commit ed8c3dde6c
No known key found for this signature in database
GPG key ID: 4B80BC43FC6007E0
6 changed files with 56 additions and 0 deletions

15
plugin/openingh.lua Normal file
View file

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