chore: add testing for user commands
This commit is contained in:
parent
cb378a6d8c
commit
264f7897bf
5 changed files with 114 additions and 0 deletions
|
|
@ -78,6 +78,12 @@ end
|
|||
|
||||
-- opens a url in the correct OS
|
||||
function M.open_url(url)
|
||||
-- when running in test env store the url
|
||||
if vim.g.test then
|
||||
vim.g.OPENINGH_RESULT = url
|
||||
return true
|
||||
end
|
||||
|
||||
-- order here matters
|
||||
-- wsl must come before win
|
||||
-- wsl must come before linux
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue