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

fix(index): add local nvim to workspace #30

Closed
wants to merge 2 commits into from
Closed

fix(index): add local nvim to workspace #30

wants to merge 2 commits into from

Conversation

danielnehrig
Copy link

@danielnehrig danielnehrig commented Sep 17, 2021

Signed-off-by: Daniel Nehrig daniel.nehrig@dnehrig.com

only adding the local nvim config to the workspace like this allows me to jump to definitions
i'm not sure if i'm the only one with this problem but this is the only way to make it working for me.

if i use the current behaviour jump to def does not work
only if the file was already opened

it looks like my .config/nvim folder does not get indexed
adding it to the workspace solved my problem

Signed-off-by: Daniel Nehrig <daniel.nehrig@dnehrig.com>
Signed-off-by: Daniel Nehrig <daniel.nehrig@dnehrig.com>
@@ -23,6 +23,10 @@ function M.library(opts)
add("$VIMRUNTIME")
end

if opts.library.nvim_cfg then
add("$HOME/.config/nvim")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
add("$HOME/.config/nvim")
add(stdpath("config"))

@danielnehrig
Copy link
Author

i'll close this since i seem to be the only person that has this problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants