vim Error detected while processing

This document (000020735) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Public Cloud Images


When editing files with "vim" and error is seen:
vim /tmp/somefile

Error detected while processing /usr/share/vim/vim82/suse.vimrc[10]../usr/share/vim/vim82/syntax/syntax.vim[43]..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



The "vim-data" package is missing, install the package.
zypper in vim-data


The "vim-data" package is missing.
This package contains supporting files that provide the missing function that causes the error.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020735
  • Creation Date: 26-Aug-2022
  • Modified Date:31-Aug-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center