Remove test files committed by mistake
parent
7407ab5a2c
commit
ddfca85fb6
@ -1,22 +0,0 @@
|
||||
function! oh_hai#hello() abort
|
||||
echo "💖 Oh, hai 💖"
|
||||
endfunction
|
||||
|
||||
function! oh_hai#run(args) abort
|
||||
let args = map(
|
||||
\ a:args[:],
|
||||
\ { _, v -> shellescape(v) },
|
||||
\ )
|
||||
let output = system(join(args))
|
||||
return split(output, '\r\?\n')
|
||||
endfunction
|
||||
|
||||
function! oh_hai#runner(args) abort
|
||||
let namespace = substitue(a:filetype, '\W', '_', 'g')
|
||||
let funcname = printf('oh_hai#runner#%s#new'), a:filetype)
|
||||
try
|
||||
return call(funcname, [])
|
||||
catch /:E117: [^:]\+: oh_hai#runner#[^#]\+#new/
|
||||
throw printf('oh_hai: Runner is not found: %s', a:filetype)
|
||||
endtry
|
||||
endfunction
|
@ -1,8 +0,0 @@
|
||||
if exists('g:oh_hai_loaded')
|
||||
finish
|
||||
endif
|
||||
let g:oh_hai_loaded = 1
|
||||
|
||||
|
||||
|
||||
command! OhHai call oh_hai#hello()
|
Loading…
Reference in New Issue