neodev.nvim icon indicating copy to clipboard operation
neodev.nvim copied to clipboard

feature: Resolve symlink

Open P4Cu opened this issue 2 years ago • 0 comments

Did you check the docs?

  • [X] I have read all the neodev.nvim docs

Is your feature request related to a problem? Please describe.

Minor inconvenience: Opening config from ~/.config/nvim (symlink) enables neovim. Opening config from ~/dotfiles/nvim does not enable.

(path for config in this description is simplified as it could be something else on another OS)

Describe the solution you'd like

Path resolution function could be extended to first resolve ~/.config/nvim path and then compare resolved cwd to it. This way it would work from link and dotfiles directory.

Describe alternatives you've considered

I can write my own override function for that but I think it would be nice to have it written once for all.

Additional context

No response

P4Cu avatar Dec 16 '23 10:12 P4Cu