About problem:
When I want to use Vim, I have this error:
Error detected while processing /usr/share/vim/vim82/suse.vimrc[10]../usr/share/vim/vim82/syntax/syntax.vim[42]..BufRead Autocommands for "*"..script /usr/share/vim/vim82/scripts.vim: line 30: E117: Unknown function: dist#script#DetectFiletype Press ENTER or type command to continue
When I press enter, Vim normally runs.
Something about my OS:
OS: GeckoLinux Rolling (based on openSUSE Tumbleweed)
platform: x86_64
kernel: 5.16.8-1-default
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
What vim version is this?
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
What vim version is this?
VIM - Vi IMproved 8.2 (2019 Dec 12)
Included patches: 1-4375
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Please check the value of 'runtimepath'.
In one of the directories there should be autoload/dist/script.vim
Does it start with "vim9script" ?
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
also, this might be a packaging issue. Can you try with a self-compiled version from this repository instead of using your distribution package?
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
OpenSUSE Tumbleweed here, I can confirm that in /usr/share/vim/vim82/autoload/dist/
directory, there is only one file ft.vim
, but in arch linux there is also a file named script.vim
.
This should be a packaging issue in openSUSE Tumbleweed.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
okay, then please report to the OpenSuse developers. Closing here then.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Closed #9809.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Just for anyone that finds this with the same error, on openSUSE you need to install vim-data
which contains the missing file.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
wondering why it wasn't installed by default. That should have been a dependency
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Just for anyone that finds this with the same error, on openSUSE you need to install
vim-data
which contains the missing file.
Thanks. This resolved the issue for me.
Take care.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Just for anyone that finds this with the same error, on openSUSE you need to install
vim-data
which contains the missing file.
Thanks, resolved.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Just for anyone that finds this with the same error, on openSUSE you need to install
vim-data
which contains the missing file.
Thank you verr much. I solved my problem. My machines is running SLES15-SP3.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
For reference: https://bugzilla.suse.com/show_bug.cgi?id=1200184
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.