Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim Syntax: Fix Syntax Error shown on Vim 9.1 #10052

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 30, 2024

  1. Vim Syntax: Fix Syntax Error shown on Vim 9.1

    There occurs a Vim syntax error on a fresh openSUSE Leap 15.5 system
    when trying to edit the Icinga 2 configuration. The specific packages
    were vim-9.1.0330-150500.20.12.1.x86_64, vim-icinga2-2.14.2-1.x86_64 and
    the following error was shown:
    
    $ vim -R /etc/icinga2/conf.d/notifications.conf
    Error detected while processing /usr/share/vim/vim91/suse.vimrc[10]../usr/share/vim/vim91/syntax/syntax.vim[44]..BufRead Autocommands for "/*etc/icinga2/*.conf"..FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script /usr/share/vim/site/syntax/icinga2.vim:
    line  300:
    E10: \ should be followed by /, ? or &
    line  301:
    E10: \ should be followed by /, ? or &
    line  302:
    E10: \ should be followed by /, ? or &
    line  303:
    E10: \ should be followed by /, ? or &
    line  304:
    E10: \ should be followed by /, ? or &
    line  305:
    E10: \ should be followed by /, ? or &
    line  306:
    E10: \ should be followed by /, ? or &
    Press ENTER or type command to continue
    oxzi committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    11041f0 View commit details
    Browse the repository at this point in the history