Created
October 4, 2014 09:39
-
-
Save treed/0c60029b53b4fc193181 to your computer and use it in GitHub Desktop.
Add go type to airline next to tagbar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call airline#parts#define_function('goinfo', 'go#complete#GetInfo') | |
call airline#parts#define_condition('goinfo', '&ft =~ "go"') | |
function! AirlineInit() | |
" Ended up not having virtualenv here since for some reason it insisted on having that as a bare string | |
let g:airline_section_x = airline#section#create_right(['goinfo', 'tagbar', 'filetype']) | |
endfunction | |
autocmd VimEnter * call AirlineInit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment