[vim/vim] E117: Unknown function: dist#script#DetectFiletype (Issue #9809)

354 views
Skip to first unread message

Filip Komárek

unread,
Feb 21, 2022, 2:32:56 AM2/21/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809@github.com>

Christian Brabandt

unread,
Feb 21, 2022, 3:01:46 AM2/21/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1046572096@github.com>

Filip Komárek

unread,
Feb 21, 2022, 6:31:47 AM2/21/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1046779969@github.com>

Bram Moolenaar

unread,
Feb 21, 2022, 6:38:39 AM2/21/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1046785298@github.com>

Christian Brabandt

unread,
Feb 21, 2022, 7:08:49 AM2/21/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1046808434@github.com>

Sainnhe Park

unread,
Feb 22, 2022, 9:08:09 PM2/22/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1048388188@github.com>

Christian Brabandt

unread,
Feb 23, 2022, 2:44:01 AM2/23/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1048517179@github.com>

Christian Brabandt

unread,
Feb 23, 2022, 2:44:03 AM2/23/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issue/9809/issue_event/6123017342@github.com>

César Izurieta

unread,
Feb 23, 2022, 10:56:39 AM2/23/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1048932379@github.com>

Christian Brabandt

unread,
Feb 23, 2022, 1:45:23 PM2/23/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1049097310@github.com>

Michael Šòdéké

unread,
Apr 28, 2022, 5:52:41 PM4/28/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1112687250@github.com>

lzy

unread,
Jun 9, 2022, 7:27:07 AM6/9/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1151002933@github.com>

Hywfred

unread,
Jun 22, 2022, 10:53:47 PM6/22/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1163865970@github.com>

Dominik Gedon

unread,
Jun 23, 2022, 9:58:28 AM6/23/22
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/9809/1164441871@github.com>

Reply all
Reply to author
Forward
0 new messages