Source

aurum / autoload / aurum / powerline.vim

Diff from to

File autoload/aurum/powerline.vim

 scriptencoding utf-8
 execute frawor#Setup('0.0', {'@aurum/cache': '2.3',
             \                '@%aurum/repo': '5.0',
-            \            '@%aurum/cmdutils': '4.0',
+            \            '@%aurum/cmdutils': '4.2',
             \                    '@/python': '1.0',})
 python import aurum.powerline
 "▶1 plwipe
 aurum.powerline.sid     = str(int(vim.eval('s:_sid')))
 aurum.powerline.started = True
 EOF
+"▶1 VimEnter
+function s:F.define_local_themes()
+return
+python <<EOF
+powerline.add_local_theme("aurum.powerline.is_commit", {
+    u"default_module": u"aurum.powerline",
+    u"segments": {
+        u"left": [
+            {
+                u"type": u"string",
+                u"contents": u"Commit",
+                u"highlight": [u"line_current_symbol"],
+            },
+        ],
+    }
+})
+EOF
+augroup AuAddPowerlineThemes
+    autocmd!
+augroup END
+augroup! AuAddPowerlineThemes
+endfunction
+
+augroup AuAddPowerlineThemes
+    autocmd! VimEnter * call s:F.define_local_themes()
+augroup END
 "▶1 _unload
 function s:._unload()
     python reload(aurum.powerline)