vim-skylight icon indicating copy to clipboard operation
vim-skylight copied to clipboard

abort: API call: Column value outside range

Open oblitum opened this issue 4 years ago • 1 comments
trafficstars

I frequently get this error, even though the window may be displayed afterwards:

  1 vim-skylight/autoload/skylight/buffer.vim|31 error 5555| function! skylight#buffer#add_highlight(location) abort: API call: Column value outside range
  2 vim-skylight/autoload/skylight/float.vim|114 info| Called by: function! skylight#float#locate(winid, location) abort
  3 vim-skylight/autoload/skylight.vim|47 info| Called by: function! skylight#preview(location) abort
  4 vim-skylight/ftplugin/skylightmenu.vim|46 info| Called by:   function! s:preview() abort

oblitum avatar Sep 07 '21 15:09 oblitum

I use coc-rust-analyzer and got this error in specific when calling skylight with cursor over .board in https://github.com/bevyengine/bevy/blob/e3170586776b165f40e446780fc4f9a4ed04187d/examples/game/alien_cake_addict.rs#L111.

oblitum avatar Sep 07 '21 15:09 oblitum