Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Add aurum segment"

This reverts commit d3916d3. The reason
why this commit is being reverted is that it adds a dependency on Frawor
which is yet another plugin loader. The segment should be rewritten to
not depend on this plugin.

Conflicts:
	autoload/Powerline/Functions/aurum.vim
  • Loading branch information...
commit c4b72c5be57b165bb6a89d0b8a974fe62c0091d0 1 parent fa55b81
@Lokaltog authored
View
2  autoload/Powerline/Colorschemes/default.vim
@@ -66,7 +66,7 @@ let g:Powerline#Colorschemes#default#colorscheme = Pl#Colorscheme#Init([
\ 'i': ['white', 'darkblue', ['bold']],
\ }),
\
- \ Pl#Hi#Segments(['fileinfo.filepath', 'status'], {
+ \ Pl#Hi#Segments(['fileinfo.filepath'], {
\ 'n': ['gray10'],
\ 'N': ['gray5'],
\ 'i': ['mediumcyan'],
View
8 autoload/Powerline/Functions/aurum.vim
@@ -1,8 +0,0 @@
-function! Powerline#Functions#aurum#GetBranch(symbol) " {{{
- let r = aurum#branch()
- return empty(r) ? '' : a:symbol .' '. r
-endfunction " }}}
-function! Powerline#Functions#aurum#GetStatus() " {{{
- let r = aurum#status()
- return (empty(r) || r is# 'clean') ? '' : toupper(r[0])
-endfunction " }}}
View
6 autoload/Powerline/Segments/aurum.vim
@@ -1,6 +0,0 @@
-let g:Powerline#Segments#aurum#segments = Pl#Segment#Init(['aurum',
- \ (exists('*FraworLoad') && FraworLoad('autoload/aurum')),
- \
- \ Pl#Segment#Create('branch', '%{Powerline#Functions#aurum#GetBranch("$BRANCH")}'),
- \ Pl#Segment#Create('status', '%{Powerline#Functions#aurum#GetStatus()}')
-\ ])
View
1  autoload/Powerline/Themes/default.vim
@@ -5,7 +5,6 @@ let g:Powerline#Themes#default#theme = Pl#Theme#Create(
\ , 'fugitive:branch'
\ , 'hgrev:branch'
\ , 'fileinfo'
- \ , 'aurum:status'
\ , 'syntastic:errors'
\ , Pl#Segment#Truncate()
\ , 'tagbar:currenttag'

2 comments on commit c4b72c5

@ZyX-I

It is a framework, not just plugin loader. You can’t depend on aurum and not depend on frawor since aurum won’t work without it, and with exists("*FraworLoad") precondition it is safe to use without installing frawor.

@ZyX-I

By the way, what does it mean: “yet another”? I sometimes saw other frameworks, all specialized, libraries, containing a bunch of unrelated functions (not putting much restrictions on code using them, so not frameworks), only once loader that is parsing plugin files seeking for functions, commands and mappings and creating a temporary replacements or FuncUndefined events to load plugins in question when required, but no other plugin loaders.

Please sign in to comment.
Something went wrong with that request. Please try again.