ZyX_I avatar ZyX_I committed c9d18de

@%aurum/powerline: Fixed some errors, reenabled aurumcommit theme

Comments (0)

Files changed (2)


 "▶1 VimEnter
 function s:F.define_local_themes()
 python <<EOF
 powerline.add_local_theme("aurum.powerline.is_commit", {
     u"default_module": u"aurum.powerline",
                 u"type": u"string",
                 u"contents": u"Commit",
-                u"highlight": [u"line_current_symbol"],
+                u"highlight_group": [u"line_current_symbol"],
+            },
+            {
+                u"name": u"branch",


             for rcid in rcids.itervalues():
-            buffers[bufnr].pop('funcs')
+            if 'funcs' in buffers[bufnr]:
+                buffers[bufnr].pop('funcs')
 def setup_buffer(bufnr, func_name, funcs=None, *args):
     if not started:
         bdict = buffers[bufnr]
     if not funcs:
-        if bdict['funcs']:
+        if 'funcs' in bdict:
             funcs = bdict['funcs']
             funcs = guess()
             'highlight': ['file_vcs_status_'+statchar, 'file_vcs_status']
-def xxx_uncommon():
-    return 'TEXT'
 def is_commit():
     return vim.eval('&ft') == 'aurumcommit'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.