Skip to content

Lazydev alternative? #488

Answered by mrcjkb
benlubas asked this question in Q&A
Jul 28, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

rocks.nvim creates symlinks in the packpath, so it works with things that rely on neovim's native packaging system.

Are you using nvim-lspconfig?
If not, there's also this:

If you don't use nvim-lspconfig, then you can use require('lazydev').find_workspace(buf?) to check if the buffer is part of an existing workspace or its libraries.

I can try it out later.

Personally, I use this. But it uses Nix and I don't care about lazily updating the workspace libraries.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@benlubas
Comment options

@benlubas
Comment options

@mrcjkb
Comment options

Answer selected by benlubas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants