-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
Steps to reproduce
-
Prepare a package like this:
~/.vim/pack/xxx/start/foobar/ ├── autoload │ └── bar.vim └── plugin └── foo.vim vim9script #foo.vim import autoload 'bar.vim' echo bar.F echo bar.V vim9script #bar.vim export def F() enddef export var V = 'V' -
Run
vimand to get the correct result:bar#F V -
Now make the package a symlink:
cd ~/.vim/pack/xxx/start/ mv foobar /tmp/ ln -s /tmp/foobar/ . -
Run
vimagain and it gives error:bar#F Error detected while processing /tmp/foobar/plugin/foo.vim: line 4: E1048: Item not found in script: VAs you see it can find the function but not the variable.
Expected behaviour
Give the same result whether package is a symlink or not.
Version of Vim
9.0.77
Environment
Fedora 36, Bash 5.1.16
Logs and stack traces
No response
Reactions are currently unavailable