doom-neovim / doom-nvim

A Neovim configuration for the advanced martian hacker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors when opening dashboard commands

samrxth opened this issue · comments

: Error executing lua [string ":lua"]:1: attempt to index global 'Luasnip_current_nodes' (a nil value)```

Hey, it looks like an error caused by LuaSnip. Is it installed? You can check it by doing :PackerStatus and looking for a LuaSnip entry 🤔

Same error here... my :PackerStatus shows it loaded...

Alright so I've found that it's a bug or a breaking change because it works when downgrading LuaSnip. I'll dig on it a bit more before pushing changes here. I'll let you know when it's fixed here.

Thank you for reporting this!

Hey so I've uploaded a temporal fix for this behavior because a commit in LuaSnip broke the plugin (already reported it, let's wait for a fix in their side).

So for temporarily fix this I have established that LuaSnip should use a specific commit (before the one that actually broke the code). The steps for fixing it will be:

  1. Update Doom Nvim using :DoomUpdate command.
  2. Remove the LuaSnip plugin (rm -rf ~/.local/share/nvim/site/pack/packer/opt/LuaSnip).
  3. Launch Neovim to install LuaSnip again.

I'll confirm that does seem to fix it...

Got some good news, L3MON4D3 (the LuaSnip dev) did a quick fix for this issue so I'm gonna revert the specific commit changes.