chore: add todos to the main files
This commit is contained in:
parent
70c62f1bcb
commit
ba9664ce7b
2 changed files with 29 additions and 1 deletions
|
|
@ -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
8
lua/openingh/utils.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local M = {
|
||||
get_git_dir = function ()
|
||||
end,
|
||||
get_selection_numbers = function ()
|
||||
end
|
||||
}
|
||||
|
||||
return M
|
||||
Loading…
Add table
Reference in a new issue