aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/Powerline/Segments/syntastic.vim
diff options
context:
space:
mode:
authorBen Beltran <ben@freshout.us>2012-10-19 15:09:38 -0500
committerBen Beltran <ben@freshout.us>2012-10-19 15:09:38 -0500
commit321ecaca67426410316db7db05e6e33809fe1e63 (patch)
tree3811f15c160c6593e84ebfab3994c810a0eeeda5 /vim/autoload/Powerline/Segments/syntastic.vim
parent9041bd938fcce0cf91032c67d529bc21fedeeed3 (diff)
Add powerline
Diffstat (limited to 'vim/autoload/Powerline/Segments/syntastic.vim')
-rw-r--r--vim/autoload/Powerline/Segments/syntastic.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/autoload/Powerline/Segments/syntastic.vim b/vim/autoload/Powerline/Segments/syntastic.vim
new file mode 100644
index 0000000..2f0caa9
--- /dev/null
+++ b/vim/autoload/Powerline/Segments/syntastic.vim
@@ -0,0 +1,5 @@
+let g:Powerline#Segments#syntastic#segments = Pl#Segment#Init('syntastic',
+ \ (exists('g:loaded_syntastic_plugin') && g:loaded_syntastic_plugin == 1),
+ \
+ \ Pl#Segment#Create('errors', '%{Powerline#Functions#syntastic#GetErrors("$LINE")}', Pl#Segment#Modes('!N'))
+\ )