diff --git a/autoload/lightline.vim b/autoload/lightline.vim index 8b464a1..10e9f50 100644 --- a/autoload/lightline.vim +++ b/autoload/lightline.vim @@ -98,6 +98,7 @@ function! lightline#init() call extend(s:lightline.component, { \ 'mode': '%{lightline#mode()}', \ 'absolutepath': '%F', 'relativepath': '%f', 'filename': '%t', 'modified': '%M', 'bufnum': '%n', + \ 'spell': '%{&spell?&spelllang:"no spell"}', \ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B', \ 'fileencoding': '%{strlen(&fenc)?&fenc:&enc}', 'fileformat': '%{&fileformat}', \ 'filetype': '%{strlen(&filetype)?&filetype:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P',