chore: implement :OpenInGHFile with its utils
This commit is contained in:
parent
dba902f5cc
commit
b712206961
3 changed files with 38 additions and 23 deletions
|
|
@ -1,13 +1,12 @@
|
|||
if vim.g.openingh then
|
||||
return
|
||||
return
|
||||
end
|
||||
vim.g.openingh = true
|
||||
|
||||
vim.api.nvim_create_user_command("OpenInGHFile", function()
|
||||
require("openingh").openFile()
|
||||
require("openingh").openFile()
|
||||
end, {})
|
||||
|
||||
vim.api.nvim_create_user_command("OpenInGHRepo", function()
|
||||
require("openingh"):openRepo()
|
||||
require("openingh"):openRepo()
|
||||
end, {})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue