mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
lorem did not pick up count always defaulting to 30
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
function! emmet#lorem#en#expand(command)
|
function! emmet#lorem#en#expand(command)
|
||||||
let wcount = matchstr(a:command, '^\%(lorem\|lipsum\)\(\d*\)}$', '\1', '')
|
let wcount = matchstr(a:command, '\(\d*\)$')
|
||||||
let wcount = wcount > 0 ? wcount : 30
|
let wcount = wcount > 0 ? wcount : 30
|
||||||
|
|
||||||
let common = ['lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur', 'adipisicing', 'elit']
|
let common = ['lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur', 'adipisicing', 'elit']
|
||||||
|
|||||||
Reference in New Issue
Block a user