aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/Powerline/Segments/cfi.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload/Powerline/Segments/cfi.vim')
-rw-r--r--vim/autoload/Powerline/Segments/cfi.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/autoload/Powerline/Segments/cfi.vim b/vim/autoload/Powerline/Segments/cfi.vim
new file mode 100644
index 0000000..bde558b
--- /dev/null
+++ b/vim/autoload/Powerline/Segments/cfi.vim
@@ -0,0 +1,5 @@
+let g:Powerline#Segments#cfi#segments = Pl#Segment#Init('cfi',
+ \ (exists('g:cfi_disable') && g:cfi_disable == 0),
+ \
+ \ Pl#Segment#Create('current_function', '%{Powerline#Functions#cfi#GetCurrentFunction()}', Pl#Segment#Modes('!N'))
+\ )