aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/utils.vim6
1 files changed, 0 insertions, 6 deletions
diff --git a/autoload/utils.vim b/autoload/utils.vim
index d1933a2..d9a8a32 100644
--- a/autoload/utils.vim
+++ b/autoload/utils.vim
@@ -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