From 1237c966c310aec1bc0b1f20a1503b1ec4a29055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Sat, 21 Jun 2014 02:13:19 +0200 Subject: [PATCH] Add spell component --- autoload/lightline.vim | 1 + 1 file changed, 1 insertion(+) 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',