rbong / vim-flog

A blazingly fast, stunningly beautiful, exceptionally powerful git branch viewer for Vim/Neovim.
750 stars 22 forks source link

Error on Vim 9.0 #97

Closed igorsol closed 1 year ago

igorsol commented 1 year ago

I have Vim 9.0 on Ubuntu 20.04 I successfully installed LuaJit

$ luajit-2.1.0-beta3 -v
LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2022 Mike Pall. https://luajit.org/

In Vim when I try to open Flog view with Flog or Flogsplit command I get this error:

Error detected while compiling function flog#cmd#Flog[19]..flog#floggraph#buf#Update[21]..flog#graph#vim#Get[14]..function flog#cmd#Flog[19]..flog#floggraph#buf#Update[21]..flog#graph#vim#Get[10]..flog#graph#vim
#bin#Get:
line   27:
E909: Cannot index a special variable

I also have neovim v0.7.2 on the same system - the Flog works fine in the neovim.

rbong commented 1 year ago

Duplicate of https://github.com/rbong/vim-flog/issues/94

Unfortunately this is a bug with Vim, please build from source. Sorry for the inconvenience.