You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this plugin with vim package on Windows and got this error:
Error detected while processing vim\package\40-filetype_python\isort\plugin\python_vimisort.vim:
line 1:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name '_vimisort' is not defined
Is that supposed to be a symlink or something? I think the right content of plugin\python_vimisort should be
runtime ftplugin\python_vimisort.vim
The text was updated successfully, but these errors were encountered:
Had the same issue on my vim setup when running on windows, and changed as pointed out to:
runtime ftplugin\python_vimisort.vim
And it worked.
On my Linux setup, I checked and it's is a symlink to the actual file.
So I changed it to be a file with the command explained at the top and it also works :)
What happens is windows don't deal with symlinks the same way POSIX systems do, so by default git, when cloning repositories is that git on windows by default sets the config core.symlinks to false. So symlinks will be conned as plain textfiles.
As pointed at the link even setting symlinks to true you need to have administrator rights to be able to properly set up the policies, and you need to be cloning to a NTFS portion instead of a FAT one, so the approach suggested by @char101 is a great solution for the case to keep it multiplatform and with an easier setup.
I am using this plugin with vim package on Windows and got this error:
Is that supposed to be a symlink or something? I think the right content of plugin\python_vimisort should be
The text was updated successfully, but these errors were encountered: