Merge pull request #4 from Trevoke/fix_spelling

Seperator => Separator
This commit is contained in:
Bailey Ling 2013-07-01 20:54:23 -07:00
commit 3320a705b2
3 changed files with 17 additions and 17 deletions

View File

@ -1,35 +1,35 @@
let g:airline#themes#default#normal = { let g:airline#themes#default#normal = {
\ 'mode': [ '#00005f' , '#dfff00' , 17 , 190 , 'bold' ] , \ 'mode': [ '#00005f' , '#dfff00' , 17 , 190 , 'bold' ] ,
\ 'mode_seperator': [ '#dfff00' , '#444444' , 190 , 238 , 'bold' ] , \ 'mode_separator': [ '#dfff00' , '#444444' , 190 , 238 , 'bold' ] ,
\ 'info': [ '#ffffff' , '#444444' , 255 , 238 , '' ] , \ 'info': [ '#ffffff' , '#444444' , 255 , 238 , '' ] ,
\ 'info_seperator': [ '#444444' , '#202020' , 238 , 234 , 'bold' ] , \ 'info_separator': [ '#444444' , '#202020' , 238 , 234 , 'bold' ] ,
\ 'statusline': [ '#9cffd3' , '#202020' , 85 , 234 , '' ] , \ 'statusline': [ '#9cffd3' , '#202020' , 85 , 234 , '' ] ,
\ 'statusline_nc': [ '#000000' , '#202020' , 232 , 234 , '' ] , \ 'statusline_nc': [ '#000000' , '#202020' , 232 , 234 , '' ] ,
\ 'file': [ '#ff0000' , '#1c1c1c' , 160 , 233 , '' ] , \ 'file': [ '#ff0000' , '#1c1c1c' , 160 , 233 , '' ] ,
\ 'inactive': [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ] , \ 'inactive': [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ] ,
\ } \ }
let g:airline#themes#default#normal_modified = copy(g:airline#themes#default#normal) let g:airline#themes#default#normal_modified = copy(g:airline#themes#default#normal)
let g:airline#themes#default#normal_modified.info_seperator = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] let g:airline#themes#default#normal_modified.info_separator = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
let g:airline#themes#default#normal_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] let g:airline#themes#default#normal_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
let g:airline#themes#default#insert = { let g:airline#themes#default#insert = {
\ 'mode': [ '#00005f' , '#00dfff' , 17 , 45 , 'bold' ] , \ 'mode': [ '#00005f' , '#00dfff' , 17 , 45 , 'bold' ] ,
\ 'mode_seperator': [ '#00dfff' , '#005fff' , 45 , 27 , 'bold' ] , \ 'mode_separator': [ '#00dfff' , '#005fff' , 45 , 27 , 'bold' ] ,
\ 'info': [ '#ffffff' , '#005fff' , 255 , 27 , '' ] , \ 'info': [ '#ffffff' , '#005fff' , 255 , 27 , '' ] ,
\ 'info_seperator': [ '#005fff' , '#000087' , 27 , 18 , 'bold' ] , \ 'info_separator': [ '#005fff' , '#000087' , 27 , 18 , 'bold' ] ,
\ 'statusline': [ '#ffffff' , '#000080' , 15 , 17 , '' ] , \ 'statusline': [ '#ffffff' , '#000080' , 15 , 17 , '' ] ,
\ } \ }
let g:airline#themes#default#insert_modified = copy(g:airline#themes#default#insert) let g:airline#themes#default#insert_modified = copy(g:airline#themes#default#insert)
let g:airline#themes#default#insert_modified.info_seperator = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] let g:airline#themes#default#insert_modified.info_separator = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
let g:airline#themes#default#insert_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] let g:airline#themes#default#insert_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
let g:airline#themes#default#visual = { let g:airline#themes#default#visual = {
\ 'mode': [ '#000000' , '#ffaf00' , 232 , 214 , 'bold' ] , \ 'mode': [ '#000000' , '#ffaf00' , 232 , 214 , 'bold' ] ,
\ 'mode_seperator': [ '#ffaf00' , '#ff5f00' , 214 , 202 , 'bold' ] , \ 'mode_separator': [ '#ffaf00' , '#ff5f00' , 214 , 202 , 'bold' ] ,
\ 'info': [ '#000000' , '#ff5f00' , 232 , 202 , '' ] , \ 'info': [ '#000000' , '#ff5f00' , 232 , 202 , '' ] ,
\ 'info_seperator': [ '#ff5f00' , '#5f0000' , 202 , 52 , 'bold' ] , \ 'info_separator': [ '#ff5f00' , '#5f0000' , 202 , 52 , 'bold' ] ,
\ 'statusline': [ '#ffffff' , '#5f0000' , 15 , 52 , '' ] , \ 'statusline': [ '#ffffff' , '#5f0000' , 15 , 52 , '' ] ,
\ } \ }
let g:airline#themes#default#visual_modified = copy(g:airline#themes#default#visual) let g:airline#themes#default#visual_modified = copy(g:airline#themes#default#visual)
let g:airline#themes#default#visual_modified.info_seperator = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] let g:airline#themes#default#visual_modified.info_separator = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
let g:airline#themes#default#visual_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] let g:airline#themes#default#visual_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]

View File

@ -30,12 +30,12 @@ CONFIGURATION *airline-configuration*
there are a couple configuration values available (shown with their default there are a couple configuration values available (shown with their default
values): values):
* the seperator used on the left side * the separator used on the left side
> >
let g:airline_left_sep='>' let g:airline_left_sep='>'
< <
* the seperator used on the right side * the separator used on the right side
> >
let g:airline_left_right='<' let g:airline_left_right='<'
< <
@ -68,7 +68,7 @@ values):
============================================================================== ==============================================================================
CUSTOMIZATION *airline-customization* CUSTOMIZATION *airline-customization*
here are some unicode symbols for customizing the left/right seperators, as here are some unicode symbols for customizing the left/right separators, as
well as the powerline font glyths well as the powerline font glyths
> >

View File

@ -44,9 +44,9 @@ let s:airline_mode_map = {
\ } \ }
let s:airline_highlight_map = { let s:airline_highlight_map = {
\ 'mode' : 'User2', \ 'mode' : 'User2',
\ 'mode_seperator' : 'User3', \ 'mode_separator' : 'User3',
\ 'info' : 'User4', \ 'info' : 'User4',
\ 'info_seperator' : 'User5', \ 'info_separator' : 'User5',
\ 'statusline' : 'StatusLine', \ 'statusline' : 'StatusLine',
\ 'statusline_nc' : 'StatusLineNC', \ 'statusline_nc' : 'StatusLineNC',
\ 'file' : 'User6', \ 'file' : 'User6',
@ -111,12 +111,12 @@ endfunction
function! AirlineModePrefix() function! AirlineModePrefix()
let l:mode = mode() let l:mode = mode()
call <sid>highlight('normal', ['statusline','statusline_nc','inactive','mode','mode_seperator','info','info_seperator','file']) call <sid>highlight('normal', ['statusline','statusline_nc','inactive','mode','mode_separator','info','info_separator','file'])
if l:mode ==# "i" || l:mode ==# "R" if l:mode ==# "i" || l:mode ==# "R"
call <sid>highlight('insert', ['statusline','mode','mode_seperator','info','info_seperator']) call <sid>highlight('insert', ['statusline','mode','mode_separator','info','info_separator'])
elseif l:mode ==? "v" || l:mode ==# "" elseif l:mode ==? "v" || l:mode ==# ""
call <sid>highlight('visual', ['statusline','mode','mode_seperator','info','info_seperator']) call <sid>highlight('visual', ['statusline','mode','mode_separator','info','info_separator'])
endif endif
if has_key(s:airline_mode_map, l:mode) if has_key(s:airline_mode_map, l:mode)