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
The one bit that seems to be having issues is the autocmd. Without it, nvim launches fine (but lf doesn't seem to work). With it, nvim gives me the following error at launch:
Failed to run `config` for lf.nvim
/home/master/.config/nvim/lua/ben/plugins/lf.lua:13: Expected 2 arguments
# stacktrace:
- lua/ben/plugins/lf.lua:13 _in_ **config**
- lua/ben/lazy.lua:13
- init.lua:2
Press ENTER or type command to continue
The text was updated successfully, but these errors were encountered:
I had the same. the event "User" should be the first argument in the autocommand, and the rest of the array the second. In the default code the event is defined in the array, which causes the error. This code worked for me:
{
"lmburns/lf.nvim",
config = function()
-- This feature will not work if the plugin is lazy-loaded
vim.g.lf_netrw = 1
I tried porting your configuration to the lazy.nvim package manager. This is what I got:
The one bit that seems to be having issues is the autocmd. Without it, nvim launches fine (but lf doesn't seem to work). With it, nvim gives me the following error at launch:
The text was updated successfully, but these errors were encountered: