vim Error detected while processing
This document (000020735) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Public Cloud Images
Situation
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
Resolution
zypper in vim-data
Cause
Additional Information
This only impacts cloud images built with vim 8.2.x or installations created before vim 9.x was released to update channels. Existing installations correctly pull in vim-data package when upgrading vim from 8.0.x to 8.2.x or newer.
Disclaimer
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:27-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com