Setup for local plugin development #1168
Unanswered
mrjones2014
asked this question in
Q&A
Replies: 1 comment 1 reply
-
this discussion thread might help u |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I'm working on a plugin locally, I put the local path into packer like the README.md suggests.
I also use neodev.nvim. This setup, however, results in incorrect "duplicate field" diagnostics all over the place. I think this is because the local plugin is also symlinked at
~/.local/share/nvim/site/pack/packer/opt/[plugin name]
, so the diagnostics are getting the "duplicates" from my runtime path, while the current repository directory should be the real source of truth.Is there a way to get the diagnostics correctly realize that
~/.local/share/nvim/site/pack/packer/opt/[plugin name]
and~/git/github/[repo name]
are actually the same directory and not produce incorrect "duplicate field" diagnostics?Beta Was this translation helpful? Give feedback.
All reactions