You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E5108: Error executing lua: /home/clh/.local/share/nvim/lazy/wf.nvim/lua/wf/init.lua:146: BufEnter Autocommands for "*"..function AutoPairsTryInit, line 27: Vim(let):E716: Key not present in Dictionary: "rhs"
stack traceback:
[C]: in function 'nvim_set_current_win'
/home/xxx/.local/share/nvim/lazy/wf.nvim/lua/wf/init.lua:146: in function </home/xxx/.local/share/nvim/lazy/wf.nvim/lua/wf/init.lua:145>
The text was updated successfully, but these errors were encountered:
I think that the dictionary object in your vimrc at line 27 is references the key "rhs" that is not present in the dictionary.
I think if you fix not to reference by the key "rhs", the error will disappear.
The function AutoPairsTryInit is run the above series of procedures.
The function AutoPairsTryInit is called after entering a buffer.
The Autocommand when nvim_set_current_win is called at wf.nvim.
Therefore, I think there is not direct relevance between the error you issued and wf.nvim.
The above is only a speculation and there is a possibility that your vimrc revealed wf.nvims hidden bug.
So I want you to show me your vimrc if you can.
I tried to open your vimrc but could not open this.
:h E716
< *E713**E716**E717*
A key is always a String. You can use a Number, it will be converted to a
String automatically. Thus the String '4' and the number 4 will find the same
entry. Note that the String '04' and the Number 04 are different, since the
Number will be converted to the String '4', leading zeros are dropped. The
empty string can also be used as a key.
E5108: Error executing lua: /home/clh/.local/share/nvim/lazy/wf.nvim/lua/wf/init.lua:146: BufEnter Autocommands for "*"..function AutoPairsTryInit, line 27: Vim(let):E716: Key not present in Dictionary: "rhs"
stack traceback:
[C]: in function 'nvim_set_current_win'
/home/xxx/.local/share/nvim/lazy/wf.nvim/lua/wf/init.lua:146: in function </home/xxx/.local/share/nvim/lazy/wf.nvim/lua/wf/init.lua:145>
The text was updated successfully, but these errors were encountered: