diff options
| author | Ben Beltran <ben@freshout.us> | 2013-04-23 08:46:40 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2013-04-23 08:46:40 -0500 |
| commit | 5fab93bf6c853f0f37d30f9cb91a0760d3e006cb (patch) | |
| tree | f1d69f20fa36b2998ee9774074c6f5d0b10a4776 /vim/autoload/Powerline/Functions | |
| parent | 400b7c363c615dca6674a0381122d35f0949b6e6 (diff) | |
| parent | 577b791c99b07471ec27e1f9c09e756a6f1da0cd (diff) | |
Merge branch 'master' of github.com:benbeltran/dotfiles
Diffstat (limited to 'vim/autoload/Powerline/Functions')
| -rw-r--r-- | vim/autoload/Powerline/Functions/cfi.vim | 3 | ||||
| -rw-r--r-- | vim/autoload/Powerline/Functions/ft_man.vim | 12 | ||||
| -rw-r--r-- | vim/autoload/Powerline/Functions/fugitive.vim | 7 | ||||
| -rw-r--r-- | vim/autoload/Powerline/Functions/syntastic.vim | 16 |
4 files changed, 0 insertions, 38 deletions
diff --git a/vim/autoload/Powerline/Functions/cfi.vim b/vim/autoload/Powerline/Functions/cfi.vim deleted file mode 100644 index a7b472c..0000000 --- a/vim/autoload/Powerline/Functions/cfi.vim +++ /dev/null @@ -1,3 +0,0 @@ -function! Powerline#Functions#cfi#GetCurrentFunction() " {{{ - return cfi#format('%s', '') -endfunction " }}} diff --git a/vim/autoload/Powerline/Functions/ft_man.vim b/vim/autoload/Powerline/Functions/ft_man.vim deleted file mode 100644 index 29135e4..0000000 --- a/vim/autoload/Powerline/Functions/ft_man.vim +++ /dev/null @@ -1,12 +0,0 @@ -function! Powerline#Functions#ft_man#GetName() " {{{ - let matches = matchlist(getline(1), '\v^([a-zA-Z_\.\-]+)\((\d+)\)') - - if ! len(matches) - return 'n/a' - endif - - let file = tolower(matches[1]) - let num = matches[2] - - return file -endfunction " }}} diff --git a/vim/autoload/Powerline/Functions/fugitive.vim b/vim/autoload/Powerline/Functions/fugitive.vim deleted file mode 100644 index bb00131..0000000 --- a/vim/autoload/Powerline/Functions/fugitive.vim +++ /dev/null @@ -1,7 +0,0 @@ -function! Powerline#Functions#fugitive#GetBranch(symbol) " {{{ - let ret = fugitive#statusline() - - let ret = substitute(ret, '\c\v\[?GIT\(([a-z0-9\-_\./:]+)\)\]?', a:symbol .' \1', 'g') - - return ret -endfunction " }}} diff --git a/vim/autoload/Powerline/Functions/syntastic.vim b/vim/autoload/Powerline/Functions/syntastic.vim deleted file mode 100644 index e2c04fa..0000000 --- a/vim/autoload/Powerline/Functions/syntastic.vim +++ /dev/null @@ -1,16 +0,0 @@ -function! Powerline#Functions#syntastic#GetErrors(line_symbol) " {{{ - if ! exists('g:syntastic_stl_format') - " Syntastic hasn't been loaded yet - return '' - endif - - " Temporarily change syntastic output format - let old_stl_format = g:syntastic_stl_format - let g:syntastic_stl_format = '╱╱╱%E{ ERRORS (%e) '. a:line_symbol .' %fe }%W{ WARNINGS (%w) '. a:line_symbol .' %fw }╱╱╱' - - let ret = SyntasticStatuslineFlag() - - let g:syntastic_stl_format = old_stl_format - - return ret -endfunction " }}} |