From 3907643c5966b51d8acdc868e00516f067ae6fa8 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 15 Feb 2024 17:17:25 +0100 Subject: [PATCH] sus --- autoload/startify/fortune.vim | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/autoload/startify/fortune.vim b/autoload/startify/fortune.vim index 21fff81..befb412 100644 --- a/autoload/startify/fortune.vim +++ b/autoload/startify/fortune.vim @@ -1,6 +1,4 @@ scriptencoding utf-8 - -" Function: s:get_random_offset {{{1 function! s:get_random_offset(max) abort return str2nr(matchstr(reltimestr(reltime()), '\.\zs\d\+')[1:]) % a:max endfunction @@ -55,7 +53,7 @@ function! startify#fortune#cowsay(...) abort let quote = startify#fortune#quote() endif let boxed_quote = startify#fortune#boxed(quote) - return boxed_quote + s:cow + return boxed_quote + s:amogus endfunction " Function: #predefined_quotes {{{1 @@ -73,6 +71,29 @@ let s:cow = [ \ ' || ||', \ ] +let s:amogus = [ + \ ' o', + \ ' o ___________', + \ ' o / \', + \ ' / ______ \', + \ ' / / \ \', + \ ' | ( ) \', + \ ' / \______/ |', + \ ' | |', + \ ' / \', + \ ' | |', + \ ' | |', + \ ' / |', + \ ' | |', + \ ' | _______ |', + \ ' ____/ / \ |', + \ ' / | | |', + \ ' | / ____/ |', + \ ' \_________/ / |', + \ ' \ __/', + \ ' \_______/' + \ ] + let g:startify_fortune_use_unicode = &encoding == 'utf-8' && get(g:, 'startify_fortune_use_unicode') let s:char_top_bottom = ['-', '─'][g:startify_fortune_use_unicode]