Hi, it seems that after my latest update of vim (on Leap 15.2) my syntax highlighting configuration is not working correctly anymore. I have something along the following lines in my .vimrc: let color = "true" if has("syntax") if color == "true" " This will switch colors ON " if we use xterm we use our own color definitions " in cause of background color if &term=="xterm" syntax on And xterm is still what I use here. My vimrc is VERY old and apparently something changed recently so it's not cooperating with the rest of the system configuration I assume? In the vim changelog I find: - stop owning /etc/vimrc so the old, distro provided config actually gets removed. Leaving it around leads to a duplicated autocmd for * .spec, leading to spec file template inserted twice. But I cannot really tell if that is relevant and where it broke for me. Any hints? Thanks, Wolfgang
24.01.2021 12:54, Wolfgang Rosenauer пишет:
In the vim changelog I find: - stop owning /etc/vimrc so the old, distro provided config actually gets removed. Leaving it around leads to a duplicated autocmd for * .spec, leading to spec file template inserted twice.
But I cannot really tell if that is relevant and where it broke for me.
Revert to version that still installs this file; if it fixes your problem, then yes, it is relevant. https://bugzilla.opensuse.org/show_bug.cgi?id=1179307 https://bugzilla.opensuse.org/show_bug.cgi?id=1179384
Am 24.01.21 um 11:24 schrieb Andrei Borzenkov:
24.01.2021 12:54, Wolfgang Rosenauer пишет:
In the vim changelog I find: - stop owning /etc/vimrc so the old, distro provided config actually gets removed. Leaving it around leads to a duplicated autocmd for * .spec, leading to spec file template inserted twice.
But I cannot really tell if that is relevant and where it broke for me.
Revert to version that still installs this file; if it fixes your problem, then yes, it is relevant.
Besides that /usr/bin/vi link is broken after downgrade, yes, it brought back the previous behaviour.
https://bugzilla.opensuse.org/show_bug.cgi?id=1179307 https://bugzilla.opensuse.org/show_bug.cgi?id=1179384
Thanks for the pointers. I'm not really sure yet why that affects my configuaration since I certainly have syntax on in my ~/.vimrc but maybe &term or has("syntax") changed at some point w/o me noticing. Wolfgang
participants (2)
-
Andrei Borzenkov
-
Wolfgang Rosenauer