summaryrefslogtreecommitdiff
path: root/.vim/pack/vendor/start/vim-devicons/autoload/airline
diff options
context:
space:
mode:
Diffstat (limited to '.vim/pack/vendor/start/vim-devicons/autoload/airline')
-rw-r--r--.vim/pack/vendor/start/vim-devicons/autoload/airline/extensions/tabline/formatters/webdevicons.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/.vim/pack/vendor/start/vim-devicons/autoload/airline/extensions/tabline/formatters/webdevicons.vim b/.vim/pack/vendor/start/vim-devicons/autoload/airline/extensions/tabline/formatters/webdevicons.vim
new file mode 100644
index 0000000..c298025
--- /dev/null
+++ b/.vim/pack/vendor/start/vim-devicons/autoload/airline/extensions/tabline/formatters/webdevicons.vim
@@ -0,0 +1,14 @@
1" Version: 0.11.0
2" Webpage: https://github.com/ryanoasis/vim-devicons
3" Maintainer: Ryan McIntyre <ryanoasis@gmail.com>
4" License: see LICENSE
5
6function! airline#extensions#tabline#formatters#webdevicons#format(bufnr, buffers) abort
7 " Call original formatter.
8 let originalFormatter = airline#extensions#tabline#formatters#{g:_webdevicons_airline_orig_formatter}#format(a:bufnr, a:buffers)
9 return originalFormatter . g:WebDevIconsTabAirLineBeforeGlyphPadding .
10 \ WebDevIconsGetFileTypeSymbol(bufname(a:bufnr)) . g:WebDevIconsTabAirLineAfterGlyphPadding
11endfunction
12
13" modeline syntax:
14" vim: fdm=marker tabstop=2 softtabstop=2 shiftwidth=2 expandtab: