lvim icon indicating copy to clipboard operation
lvim copied to clipboard

Will not detect local eslint configuration

Open radugaf opened this issue 3 years ago • 7 comments

I've been using your configuration for quite some time now (super awesome btw!!). I just did a git pull a few minutes ago and it seems like everything node related just broke.

The issues: (1) Formatting will timeout (2) Does not see the local eslint and prettier files

Please let me know what info would you need from my side. Trying to help but I'm pretty new at this.

radugaf avatar Sep 09 '22 08:09 radugaf

thanks, mate, ok first off, can you pinpoint which commit causes these issues for you?

abzcoding avatar Sep 09 '22 08:09 abzcoding

I was just checking every commit from the past month from both your repo and from Lunarvim. I am not really sure what change caused it to break.

What is even stranger is that you haven't updated the null-ls configuration, or anything related to eslint (for example), and neither on the main repo. So I can only assume is a bug somewhere (or a breaking change) in the plugins.

radugaf avatar Sep 09 '22 08:09 radugaf

that is a bit strange tbh, can you try this?

# run the following only once to fix the issue
find ~/.local/share/lunarvim/site/pack/packer -maxdepth 2 -mindepth 2 -type d -exec git -C {} checkout main \;
find ~/.local/share/lunarvim/site/pack/packer -maxdepth 2 -mindepth 2 -type d -exec git -C {} checkout master \;

# this will keep lunarvim up to date
git -C ~/.local/share/lunarvim/lvim pull

# use this command to keep the plugins up to date
find ~/.local/share/lunarvim/site/pack/packer -maxdepth 2 -mindepth 2 -type d -exec git -C {} pull \;

abzcoding avatar Sep 09 '22 08:09 abzcoding

Ran the commands but they did nothing... :-( Any other suggestions?

radugaf avatar Sep 09 '22 09:09 radugaf

Ran the commands but they did nothing... :-( Any other suggestions?

check ~/.cache/nvim/lvim.log and ~/.cache/nvim/lsp.log and ~/.cache/nvim/log those might be helpful

abzcoding avatar Sep 09 '22 09:09 abzcoding

@radugaf can you remove these lines and see if it helps or not?

https://github.com/abzcoding/lvim/blob/0bc4fde98cf5f6f966b60ad4946936b7bc7d4b1a/lua/user/neovim.lua#L49-L50

abzcoding avatar Sep 09 '22 17:09 abzcoding

@abzcoding tried it, still does not work .. I will keep trying things until I will figure it out. Will post here updates as soon as I have any

radugaf avatar Sep 12 '22 10:09 radugaf

sadly i can't reproduce this issue no matter what I do, so I'll close this

abzcoding avatar Oct 23 '22 06:10 abzcoding