1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

remove mentioning of vim-airline

This commit is contained in:
jdhao
2021-12-05 14:33:59 +08:00
parent 0be331b28e
commit 752dbcbe2d
4 changed files with 4 additions and 12 deletions

View File

@@ -27,12 +27,6 @@ function! utils#HasColorscheme(name) abort
return !empty(globpath(&runtimepath, l:pat))
endfunction
" Check if an Airline theme exists in runtimepath.
function! utils#HasAirlinetheme(name) abort
let l:pat = printf('autoload/airline/themes/%s.vim', a:name)
return !empty(globpath(&runtimepath, l:pat))
endfunction
" Generate random integers in the range [Low, High] in pure vim script,
" adapted from https://stackoverflow.com/a/12739441/6064933
function! utils#RandInt(Low, High) abort