diff options
| author | Ben Beltran <ben@nsovocal.com> | 2013-04-16 01:22:46 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2013-04-16 01:22:46 -0500 |
| commit | 577b791c99b07471ec27e1f9c09e756a6f1da0cd (patch) | |
| tree | 60daaa41542b03720931b5eace3b55abf57cf515 /vim/autoload/Powerline/Functions | |
| parent | 07c693d23065b9371ba3aa713e8fd4b0e9874c9d (diff) | |
Use the newer powerline.
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 " }}} |