chore: add todos to the main files

This commit is contained in:
Ali Almohaya 2022-09-25 23:53:23 +03:00
parent 70c62f1bcb
commit ba9664ce7b
No known key found for this signature in database
GPG key ID: 4B80BC43FC6007E0
2 changed files with 29 additions and 1 deletions

View file

@ -1 +1,21 @@
print("HELLOO FROM LUAS")
local M = {
setup = function (debug)
-- TODO - 1: add the repo path to global var
if (debug) then
print("debugging openingh.nvim")
end
end,
openFile = function ()
-- TODO - 1: get the url from git folder
-- TODO - 2: get the current line in the buffer and add it to the file url
-- TODO - 3: get the selected range in the buffer and add it to the file url
end,
openRepo = function ()
-- TODO - 1: get the remote url and open it
end
}
return M

8
lua/openingh/utils.lua Normal file
View file

@ -0,0 +1,8 @@
local M = {
get_git_dir = function ()
end,
get_selection_numbers = function ()
end
}
return M