mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-26 02:09:48 +08:00
happy 2016!
This commit is contained in:
parent
2c613a1746
commit
048b24a916
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let g:airline_statusline_funcrefs = get(g:, 'airline_statusline_funcrefs', [])
|
let g:airline_statusline_funcrefs = get(g:, 'airline_statusline_funcrefs', [])
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:prototype = {}
|
let s:prototype = {}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
function! airline#debug#profile1()
|
function! airline#debug#profile1()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
function! airline#deprecation#check()
|
function! airline#deprecation#check()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:ext = {}
|
let s:ext = {}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:has_fugitive = exists('*fugitive#head')
|
let s:has_fugitive = exists('*fugitive#head')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists('*bufferline#get_status_string')
|
if !exists('*bufferline#get_status_string')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !get(g:, 'command_t_loaded', 0)
|
if !get(g:, 'command_t_loaded', 0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !get(g:, 'loaded_csv', 0) && !exists(':Table')
|
if !get(g:, 'loaded_csv', 0) && !exists(':Table')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !get(g:, 'loaded_ctrlp', 0)
|
if !get(g:, 'loaded_ctrlp', 0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:spc = g:airline_symbols.space
|
let s:spc = g:airline_symbols.space
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:section_truncate_width = get(g:, 'airline#extensions#default#section_truncate_width', {
|
let s:section_truncate_width = get(g:, 'airline#extensions#default#section_truncate_width', {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':ProjectCreate')
|
if !exists(':ProjectCreate')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
" we don't actually want this loaded :P
|
" we don't actually want this loaded :P
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !get(g:, 'loaded_signify', 0) && !get(g:, 'loaded_gitgutter', 0) && !get(g:, 'loaded_changes', 0) && !get(g:, 'loaded_quickfixsigns', 0)
|
if !get(g:, 'loaded_signify', 0) && !get(g:, 'loaded_gitgutter', 0) && !get(g:, 'loaded_changes', 0) && !get(g:, 'loaded_quickfixsigns', 0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':NetrwSettings')
|
if !exists(':NetrwSettings')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !get(g:, 'loaded_nrrw_rgn', 0)
|
if !get(g:, 'loaded_nrrw_rgn', 0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':PromptlineSnapshot')
|
if !exists(':PromptlineSnapshot')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let g:airline#extensions#quickfix#quickfix_text = 'Quickfix'
|
let g:airline#extensions#quickfix#quickfix_text = 'Quickfix'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':SyntasticCheck')
|
if !exists(':SyntasticCheck')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:formatter = get(g:, 'airline#extensions#tabline#formatter', 'default')
|
let s:formatter = get(g:, 'airline#extensions#tabline#formatter', 'default')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1)
|
let s:show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:excludes = get(g:, 'airline#extensions#tabline#excludes', [])
|
let s:excludes = get(g:, 'airline#extensions#tabline#excludes', [])
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:fmod = get(g:, 'airline#extensions#tabline#fnamemod', ':~:.')
|
let s:fmod = get(g:, 'airline#extensions#tabline#fnamemod', ':~:.')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
function! airline#extensions#tabline#formatters#unique_tail#format(bufnr, buffers)
|
function! airline#extensions#tabline#formatters#unique_tail#format(bufnr, buffers)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:show_tab_nr = get(g:, 'airline#extensions#tabline#show_tab_nr', 1)
|
let s:show_tab_nr = get(g:, 'airline#extensions#tabline#show_tab_nr', 1)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':TagbarToggle')
|
if !exists(':TagbarToggle')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':Tmuxline')
|
if !exists(':Tmuxline')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !exists(':UndotreeToggle')
|
if !exists(':UndotreeToggle')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !get(g:, 'loaded_unite', 0)
|
if !get(g:, 'loaded_unite', 0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if !isdirectory($VIRTUAL_ENV)
|
if !isdirectory($VIRTUAL_ENV)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
" http://got-ravings.blogspot.com/2008/10/vim-pr0n-statusline-whitespace-flags.html
|
" http://got-ravings.blogspot.com/2008/10/vim-pr0n-statusline-whitespace-flags.html
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:filetypes = get(g:, 'airline#extensions#wordcount#filetypes', '\vhelp|markdown|rst|org|text')
|
let s:filetypes = get(g:, 'airline#extensions#wordcount#filetypes', '\vhelp|markdown|rst|org|text')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running') && (empty($CONEMUBUILD) || &term !=? 'xterm')
|
let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running') && (empty($CONEMUBUILD) || &term !=? 'xterm')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
function! s:check_defined(variable, default)
|
function! s:check_defined(variable, default)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
let s:parts = {}
|
let s:parts = {}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
call airline#init#bootstrap()
|
call airline#init#bootstrap()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
" generates a dictionary which defines the colors for each highlight group
|
" generates a dictionary which defines the colors for each highlight group
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
call airline#init#bootstrap()
|
call airline#init#bootstrap()
|
||||||
|
|
|
@ -880,7 +880,7 @@ Contributions and pull requests are welcome.
|
||||||
==============================================================================
|
==============================================================================
|
||||||
LICENSE *airline-license*
|
LICENSE *airline-license*
|
||||||
|
|
||||||
MIT License. Copyright © 2013-2015 Bailey Ling.
|
MIT License. Copyright © 2013-2016 Bailey Ling.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
" MIT License. Copyright (c) 2013-2015 Bailey Ling.
|
" MIT License. Copyright (c) 2013-2016 Bailey Ling.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
if &cp || v:version < 702 || (exists('g:loaded_airline') && g:loaded_airline)
|
if &cp || v:version < 702 || (exists('g:loaded_airline') && g:loaded_airline)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user