Change vim colorscheme

main
Buddy Sandidge 4 years ago
parent 1385c9ce48
commit 16f1cfd1dd

@ -0,0 +1,22 @@
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

@ -0,0 +1,8 @@
if exists('g:oh_hai_loaded')
finish
endif
let g:oh_hai_loaded = 1
command! OhHai call oh_hai#hello()

@ -15,5 +15,6 @@ if (has("termguicolors"))
set termguicolors
endif
colorscheme molokai
colorscheme gruvbox
set background=dark

Loading…
Cancel
Save