An error with plugin airline
Closed this issue ยท 4 comments
Hi @Vonfry,
I use vim-airline, too. ๐
But I can't reproduce your bug. My settings are:
- Vim 8.0.51
- vim-airline latest ver. (I tried 0.8/0.7/0.6, they all works)
Can you give me more information?
I have updated all plugins to their last version. But the problem isn't done.
If I remove airline from plugin dir, the problem is solved.
Vim version:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 22 2016 13:47:09)
MacOS X (unix) version
Included patches: 1-7
Compiled by Vonfry@Vonfry
Huge version with MacVim GUI. Features included (+) or not (-):
+acl +find_in_path -mouse_sysmouse -tag_any_white
+arabic +float +mouse_urxvt -tcl
+autocmd +folding +mouse_xterm +termguicolors
+balloon_eval -footer +multi_byte +terminfo
+browse +fork() +multi_lang +termresponse
++builtin_terms +fullscreen -mzscheme +textobjects
+byte_offset +gettext +netbeans_intg +timers
+channel -hangul_input +num64 +title
+cindent +iconv +odbeditor +toolbar
+clientserver +insert_expand +packages +transparency
+clipboard +job +path_extra +user_commands
+cmdline_compl +jumplist +perl/dyn +vertsplit
+cmdline_hist +keymap +persistent_undo +virtualedit
+cmdline_info +lambda +postscript +visual
+comments +langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv +linebreak +python/dyn +vreplace
+cscope +lispindent +python3/dyn +wildignore
+cursorbind +listcmds +quickfix +wildmenu
+cursorshape +localmap +reltime +windows
+dialog_con_gui +lua/dyn +rightleft +writebackup
+diff +menu +ruby/dyn -X11
+digraphs +mksession +scrollbind -xfontset
+dnd +modify_fname +signs +xim
-ebcdic +mouse +smartindent -xpm
+emacs_tags +mouseshape +startuptime -xsmp
+eval +mouse_dec +statusline -xterm_clipboard
+ex_extra -mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax
+farsi +mouse_netterm +tag_binary
+file_in_path +mouse_sgr +tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "
/usr/local/Cellar/macvim/HEAD-99ec748/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -L/usr/local/lib -L. -L/usr/local/lib -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon -lm -lncurses -liconv -lintl -framework Cocoa -fstack-protector -L/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE
My airline setting:
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tmuxline#enabled = 0
let g:airline#extensions#tagbar#flags = 's'
let g:airline#extensions#whitespace#enabled = 1
let g:airline#extensions#tabline#fnamemod = ':p:t'
let g:airline_powerline_fonts = 0
let g:airline_exclude_preview = 1
let g:airline_theme = 'solarized'
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_left_sep = ''
let g:airline_right_sep = ''
let g:airline_symbols.readonly = '๐'
let g:airline_symbols.crypt = '๐'
let g:airline_symbols.linenr = 'โฏ'
let g:airline_symbols.paste = 'โฅ'
let g:airline_symbols.whitespace = 'ฮ'
Eh..It only shows an error log when I use this plugin. But there is nothing failed for using it.
I tried MacVim 7.4 and 8.0.52 but still can not reproduce your bug. ๐
Could you check this thread and do further testing?
Or use :silent! CodeQuery FunctionList to workaround. (it should hide the error message)
I have tried remove all plugin except codequery, airline, unite.vim, ack.vim.
I have see that thread before I send the issues and tried use colorscheme in vim and change the airline theme. The error is also be shown.
I close this issue. I think it is a problem on airline.
