remove redundancy from the map

This commit is contained in:
Bailey Ling
2013-08-16 02:02:32 +00:00
parent 30adb973fc
commit 6e515a4627
4 changed files with 17 additions and 28 deletions

View File

@@ -11,7 +11,7 @@ function! airline#builder#new(active)
endfunction
function! builder.add_section(group, contents)
call add(self._sections, [a:group, a:contents])
call add(self._sections, ['airline_'.a:group, a:contents])
endfunction
function! builder.add_raw(text)