mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-03-25 14:17:40 +08:00
- Use vimspec style (Describe/It/End) instead of basic suite style - Setup helpers via .themisrc with ExpandWord/ExpandInBuffer globals - Fix linear-gradient test expected value (0 100% is correct output) - All 182 tests pass
14 lines
417 B
Plaintext
14 lines
417 B
Plaintext
let &runtimepath .= ',' . fnamemodify(expand('<sfile>'), ':h') . '/test'
|
|
call themis#helper('command').with(themis#helper('assert'))
|
|
|
|
let s:emmet = themis#helper('emmet')
|
|
call s:emmet.setup()
|
|
|
|
function! ExpandWord(query, type) abort
|
|
return s:emmet.expand_word(a:query, a:type)
|
|
endfunction
|
|
|
|
function! ExpandInBuffer(query, type, result) abort
|
|
return s:emmet.expand_in_buffer(a:query, a:type, a:result)
|
|
endfunction
|