Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

errors when opening dashboard commands #38

Closed
samrxth opened this issue Jul 12, 2021 · 6 comments
Closed

errors when opening dashboard commands #38

samrxth opened this issue Jul 12, 2021 · 6 comments
Assignees
Labels
branch: main For stuff regarding to main branch scope: bug Something isn't working

Comments

@samrxth
Copy link

samrxth commented Jul 12, 2021

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

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 🤔

@bdillahu
Copy link

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

@NTBBloodbath
Copy link
Collaborator

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!

@NTBBloodbath NTBBloodbath self-assigned this Jul 12, 2021
@NTBBloodbath NTBBloodbath added branch: main For stuff regarding to main branch scope: bug Something isn't working labels Jul 12, 2021
@NTBBloodbath
Copy link
Collaborator

NTBBloodbath commented Jul 12, 2021

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.

@bdillahu
Copy link

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

@NTBBloodbath
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
branch: main For stuff regarding to main branch scope: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants