... | ... |
@@ -126,16 +126,16 @@ set noshowmode |
126 | 126 |
|
127 | 127 |
function! LightlineSession() |
128 | 128 |
if v:this_session != "" |
129 |
- return '[Session: ' . fnamemodify(v:this_session, ':t') . ']' |
|
129 |
+ return '[' . fnamemodify(v:this_session, ':t') . ']' |
|
130 | 130 |
endif |
131 |
- return '[Session: -]' |
|
131 |
+ return "" |
|
132 | 132 |
endfunction |
133 | 133 |
|
134 | 134 |
function! LightlineSpellLanguage() |
135 | 135 |
if(&spell) |
136 |
- return "Spell: " . &spelllang |
|
136 |
+ return &spelllang |
|
137 | 137 |
else |
138 |
- return "(nospell)" |
|
138 |
+ return "" |
|
139 | 139 |
endif |
140 | 140 |
endfunction |
141 | 141 |
|