From ddfca85fb64cf2bbfc8b2382c733dc88e30504dd Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 28 Dec 2020 14:33:37 -0800 Subject: [PATCH] Remove test files committed by mistake --- vim/.config/vim/autoload/oh_hai.vim | 22 ---------------------- vim/.config/vim/plugin/oh_hai.vim | 8 -------- 2 files changed, 30 deletions(-) delete mode 100644 vim/.config/vim/autoload/oh_hai.vim delete mode 100644 vim/.config/vim/plugin/oh_hai.vim diff --git a/vim/.config/vim/autoload/oh_hai.vim b/vim/.config/vim/autoload/oh_hai.vim deleted file mode 100644 index 03bef66..0000000 --- a/vim/.config/vim/autoload/oh_hai.vim +++ /dev/null @@ -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 diff --git a/vim/.config/vim/plugin/oh_hai.vim b/vim/.config/vim/plugin/oh_hai.vim deleted file mode 100644 index 0ac070a..0000000 --- a/vim/.config/vim/plugin/oh_hai.vim +++ /dev/null @@ -1,8 +0,0 @@ -if exists('g:oh_hai_loaded') - finish -endif -let g:oh_hai_loaded = 1 - - - -command! OhHai call oh_hai#hello()