Skip to content

Commit

Permalink
finish!
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Feb 21, 2024
1 parent d13cb72 commit 8f4d23c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/Luogu-On-Neovim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,14 @@ function M.submit()
local proble=vim.ui.input({prompt='[Luogu-CLI]Enter Problem Code:'},function(input) vim.api.nvim_command("!~/.config/luogu-cli/LuoguCLI submit "..input.." %") end);
end

function M.solution()
local proble=vim.ui.input({prompt='[Luogu-CLI]Enter Problem Code:'},function(input) vim.api.nvim_command("!~/.config/luogu-cli/LuoguCLI solution "..input) end);
end

function M.problem()
local proble=vim.ui.input({prompt='[Luogu-CLI]Enter Problem Code:'},function(input) vim.api.nvim_command("!~/.config/luogu-cli/LuoguCLI problem "..input) end);
end



return M

0 comments on commit 8f4d23c

Please # to comment.