90619ab253
subrepo: subdir: "dotfiles/.vim/plugged/lightline.vim" merged: "b1e91b41" upstream: origin: "https://github.com/itchyny/lightline.vim.git" branch: "master" commit: "b1e91b41" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
14 lines
371 B
VimL
14 lines
371 B
VimL
let s:suite = themis#suite('mode')
|
|
let s:assert = themis#helper('assert')
|
|
|
|
function! s:suite.mode()
|
|
let g:lightline = {}
|
|
call lightline#init()
|
|
call s:assert.equals(lightline#mode(), 'NORMAL')
|
|
endfunction
|
|
|
|
function! s:suite.mode_map()
|
|
let g:lightline = { 'mode_map': { 'n': 'N' } }
|
|
call lightline#init()
|
|
call s:assert.equals(lightline#mode(), 'N')
|
|
endfunction
|