This commit is contained in:
mattn
2013-06-03 12:13:25 +09:00
parent 64b64e6bf8
commit aabea8343f

View File

@@ -325,10 +325,10 @@ function! zencoding#util#lorem(count)
call add(ret, word)
if (sentence > 5 && s:rand() < 10000) || i == c - 1
if i == c - 1
let endc = "?!,..."[s:rand() % 6]
let endc = "?!..."[s:rand() % 5]
call add(ret, endc)
else
let endc = "?!..."[s:rand() % 5]
let endc = "?!,..."[s:rand() % 6]
call add(ret, endc . ' ')
endif
if endc != ','