Open D0048 opened 7 years ago
Add: After adding the following code at the beginning of the s:StartPreview(...)
function, like this:
... function! s:StartPreview(...) echo 'dummy' lcd - "The above 2 lines must exist for any error message to show. let b:livepreview_buf_data = {} ...
The error message will appear. Don't know why thou.
Hi @D0048! Thanks for reporting!
I haven't successfully reproduced your bug on Huge version without GUI
... Maybe it is related to your Huge version with GTK2-GNOME GUI
(but then I wouldn't know why...)
What kind of other plugins are you using? :scriptnames
to figure it out
The complete output of :scriptnames
is at below. Btw, I think the vim-airline
plugin is the most suspicious.
1: /usr/share/vim/vimrc 2: /usr/share/vim/vim74/debian.vim 3: /usr/share/vim/vim74/syntax/syntax.vim 4: /usr/share/vim/vim74/syntax/synload.vim 5: /usr/share/vim/vim74/syntax/syncolor.vim 6: /usr/share/vim/vim74/filetype.vim 7: ~/.vimrc 8: /usr/share/vim/vim74/syntax/nosyntax.vim 9: ~/.vim/bundle/vundle/autoload/vundle.vim 10: ~/.vim/bundle/vundle/autoload/vundle/config.vim 11: /usr/share/vim/vim74/ftplugin.vim 12: /usr/share/vim/vim74/indent.vim 13: /usr/share/vim/vim74/delmenu.vim 14: /usr/share/vim/vim74/menu.vim 15: /usr/share/vim/vim74/lang/menu_zh_cn.utf-8.vim 16: /usr/share/vim/vim74/autoload/paste.vim 17: ~/.vim/plugin/NERD_Commenter.vim 18: ~/.vim/plugin/SyntaxFolds.vim 19: ~/.vim/plugin/filebrowser.vim 20: ~/.vim/plugin/imaps.vim 21: ~/.vim/plugin/latexlivepreview.vim 22: ~/.vim/plugin/remoteOpen.vim 23: ~/.vim/bundle/YouCompleteMe/plugin/youcompleteme.vim 24: ~/.vim/bundle/vim-latex-live-preview/plugin/latexlivepreview.vim 25: ~/.vim/bundle/tagbar/plugin/tagbar.vim 26: ~/.vim/bundle/vim-autoformat/plugin/autoformat.vim 27: ~/.vim/bundle/vim-autoformat/plugin/defaults.vim 28: ~/.vim/bundle/vim-autoformat/plugin/utils.vim 29: ~/.vim/bundle/vim-airline/plugin/airline.vim 30: ~/.vim/bundle/vim-airline/autoload/airline.vim 31: ~/.vim/bundle/vim-airline/autoload/airline/init.vim 32: ~/.vim/bundle/vim-airline/autoload/airline/parts.vim 33: ~/.vim/bundle/vim-airline-themes/plugin/airline-themes.vim 34: ~/.vim/bundle/syntastic/plugin/syntastic/autoloclist.vim 35: ~/.vim/bundle/syntastic/plugin/syntastic/balloons.vim 36: ~/.vim/bundle/syntastic/plugin/syntastic/checker.vim 37: ~/.vim/bundle/syntastic/plugin/syntastic/cursor.vim 38: ~/.vim/bundle/syntastic/plugin/syntastic/highlighting.vim 39: ~/.vim/bundle/syntastic/plugin/syntastic/loclist.vim 40: ~/.vim/bundle/syntastic/plugin/syntastic/modemap.vim 41: ~/.vim/bundle/syntastic/plugin/syntastic/notifiers.vim 42: ~/.vim/bundle/syntastic/plugin/syntastic/registry.vim 43: ~/.vim/bundle/syntastic/plugin/syntastic/signs.vim 44: ~/.vim/bundle/syntastic/plugin/syntastic.vim 45: ~/.vim/bundle/syntastic/autoload/syntastic/util.vim 46: ~/.vim/bundle/nerdcommenter/plugin/NERD_commenter.vim 47: ~/.vim/bundle/vimshell.vim/plugin/vimshell.vim 48: ~/.vim/bundle/vimproc.vim/plugin/vimproc.vim 49: /usr/share/vim/vim74/plugin/getscriptPlugin.vim 50: /usr/share/vim/vim74/plugin/gzip.vim 51: /usr/share/vim/vim74/plugin/logiPat.vim 52: /usr/share/vim/vim74/plugin/matchparen.vim 53: /usr/share/vim/vim74/plugin/netrwPlugin.vim 54: /usr/share/vim/vim74/plugin/rrhelper.vim 55: /usr/share/vim/vim74/plugin/spellfile.vim 56: /usr/share/vim/vim74/plugin/tarPlugin.vim 57: /usr/share/vim/vim74/plugin/tohtml.vim 58: /usr/share/vim/vim74/plugin/vimballPlugin.vim 59: /usr/share/vim/vim74/plugin/zipPlugin.vim 60: ~/.vim/bundle/vim-airline/autoload/airline/extensions.vim 61: ~/.vim/bundle/vim-airline/autoload/airline/extensions/quickfix.vim 62: ~/.vim/bundle/vim-airline/autoload/airline/extensions/netrw.vim 63: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tagbar.vim 64: ~/.vim/bundle/vim-airline/autoload/airline/extensions/syntastic.vim 65: ~/.vim/bundle/vim-airline/autoload/airline/extensions/whitespace.vim 66: ~/.vim/bundle/vim-airline/autoload/airline/extensions/po.vim 67: ~/.vim/bundle/vim-airline/autoload/airline/extensions/wordcount.vim 68: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline.vim 69: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline/autoshow.vim 70: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline/tabs.vim 71: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline/buffers.vim 72: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline/ctrlspace.vim 73: ~/.vim/bundle/vim-airline/autoload/airline/extensions/keymap.vim 74: ~/.vim/bundle/vim-airline/autoload/airline/section.vim 75: ~/.vim/bundle/vim-airline/autoload/airline/highlighter.vim 76: ~/.vim/bundle/vim-airline-themes/autoload/airline/themes/bubblegum.vim 77: ~/.vim/bundle/vim-airline/autoload/airline/themes.vim 78: ~/.vim/bundle/vim-airline/autoload/airline/util.vim 79: ~/.vim/bundle/vim-airline/autoload/airline/builder.vim 80: ~/.vim/bundle/vim-airline/autoload/airline/extensions/default.vim 81: ~/.vim/bundle/syntastic/autoload/syntastic/log.vim 82: ~/.vim/bundle/YouCompleteMe/autoload/youcompleteme.vim 83: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline/buflist.vim 84: ~/.vim/bundle/vim-airline/autoload/airline/extensions/tabline/formatters/default.vim 85: ~/.vim/bundle/tagbar/autoload/tagbar.vim 86: ~/.vim/bundle/tagbar/autoload/tagbar/debug.vim 87: ~/.vim/bundle/tagbar/autoload/tagbar/types/ctags.vim 88: ~/.vim/bundle/tagbar/autoload/tagbar/prototypes/typeinfo.vim
Did you figure out what was happening? By disabling other plugins for instance
It's not the air-line plugin. But this is probably a conflict with some other plugins since it works after I disabled all of them. Consider I don't yet have time to try to exclude each script one by one, For any of whom encountered similar issues, try adding an output like this to the beginning of the StartPreview
function like this:
... function! s:StartPreview(...) echo 'Starting' lcd - "The above 2 lines must exist for any error message to show. ...
Expected behavior
The error messages like these:
could show normally.
Actual behavior
These messages just blink and disappear.
Steps to reproduce
System configuration