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
- object types (and 'host' inside apply) are now green again
- special underlined macro highlighting
- add missing object types, attributes and constants
- add new constants and namespaces/references for 2.10
- Large refactoring into sub matches
I don't use nano, so we need a nano hero to incorporate
these changes here into their syntax highlighting file :)
refs #5683