Closed zYeoman closed 4 years ago
It will cause E315
when use 'Yggdroot/LeaderF' <leader>f
even without let g:lsp_cxx_hl_use_text_props=1
Hi zYeoman,
I am not able to reproduce the bug with my local vim. Given that this is an internal error it is probably related to your vim version, could you post the full output of vim --version
?
Note that I enabled +textprop
in vim-lsp-cxx-highlight by default on vim 8.2 since I found it to be fairly stable in my usage, however it is still a relatively new and complex feature so it could still have bugs.
Since my version of vim works fine in your repro case, maybe try updating your version of vim. If you are currently using vim provided by a package manager then try compiling the latest vim from source.
Here's my vim --version
:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 23 2020 21:41:18)
Included patches: 1-1287
Compiled by Jack Guo
Huge version without GUI. Features included (+) or not (-):
+acl -farsi +mouse_sgr +tag_binary
+arabic +file_in_path -mouse_sysmouse -tag_old_static
+autocmd +find_in_path +mouse_urxvt -tag_any_white
+autochdir +float +mouse_xterm -tcl
+autoservername +folding +multi_byte +termguicolors
-balloon_eval -footer +multi_lang +terminal
+balloon_eval_term +fork() -mzscheme +terminfo
-browse +gettext +netbeans_intg +termresponse
++builtin_terms -hangul_input +num64 +textobjects
+byte_offset +iconv +packages +textprop
+channel +insert_expand +path_extra +timers
+cindent +ipv6 +perl +title
+clientserver +job +persistent_undo -toolbar
+clipboard +jumplist +popupwin +user_commands
+cmdline_compl +keymap +postscript +vartabs
+cmdline_hist +lambda +printer +vertsplit
+cmdline_info +langmap +profile +virtualedit
+comments +libcall -python +visual
+conceal +linebreak +python3 +visualextra
+cryptv +lispindent +quickfix +viminfo
+cscope +listcmds +reltime +vreplace
+cursorbind +localmap +rightleft +wildignore
+cursorshape -lua -ruby +wildmenu
+dialog_con +menu +scrollbind +windows
+diff +mksession +signs +writebackup
+digraphs +modify_fname +smartindent +X11
-dnd +mouse -sound +xfontset
-ebcdic -mouseshape +spell -xim
+emacs_tags +mouse_dec +startuptime +xpm
+eval -mouse_gpm +statusline +xsmp_interact
+ex_extra -mouse_jsbterm -sun_workshop +xterm_clipboard
+extra_search +mouse_netterm +syntax -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/guoj-vim/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Ofast -march=native -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-E -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -ldl -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.30/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
Sorry, Just found out it caused by other plugin....
FYI, The plugin is APZelos/blamer.nvim
Describe the bug Vim in tmux, when I zoom in the pane, it's cause many
E315: ml_get invalid lnum.
error.To Reproduce Steps to reproduce the behavior:
let g:lsp_cxx_hl_use_text_props = 1
C-b "
C-b %
to split vertical and horizontal, split it to 1/2 width and 1/2 height.C-b C-z
for example.:vs
to split the vim windowE315: ml_get invalid lnum
Expected behavior A clear and concise description of what you expected to happen. vim will print many
E315: ml_get invalid lnum
Screenshots If applicable, add screenshots to help explain your problem.
Configuration (Fill this out):
vimrc
orinit.vim
that you think are relevant to vim-lsp-cxx-highlightAdditional context
:h E315
showsThis is an internal Vim error. Please try to find out how it can be reproduced, and submit a bug report |bugreport.vim|.
, so I should send bug report to vim developer?