You are not logged in.

#1 2023-02-13 17:42:30

kerbless
Member
Registered: 2023-02-13
Posts: 3

[SOLVED] Could it be that upgrading messed my vim colorscheme?

Vim is not displaying the colorscheme right anymore, could it be because this morning I did a full system upgrade (after only a week or so)?
The problem: https://ibb.co/10fsXKv

The green one is the right colour, why in the world should the other one be a different colour?

.vimrc

" [kerbless's .vimrc]

" ---------------
" --- GENERAL ---
" ---------------

" --- general ---
set confirm

" --- editor ---
set history=100
set number

" --- tabs and indentation ---
set tabstop=4
set shiftwidth=4
" set autoindent
" set smartindent
" set expandtab

" --- completion ---
set wildmenu " command line completion, consider modifying the wildmode
set omnifunc=syntaxcomplete#Complete

" --- search ---
set hlsearch
set incsearch
set ignorecase
set smartcase
set showmatch
" [kerbless's .vimrc]

" ---------------
" --- GENERAL ---
" ---------------

" --- general ---
set confirm

" --- editor ---
set history=100
set number

" --- tabs and indentation ---
set tabstop=4
set shiftwidth=4
" set autoindent
" set smartindent
" set expandtab

" --- completion ---
set wildmenu " command line completion, consider modifying the wildmode
set omnifunc=syntaxcomplete#Complete

" --- search ---
set hlsearch
set incsearch
set ignorecase
set smartcase
set showmatch

" ---------------
" --- MAPPING ---
" ---------------

nnoremap <F9> <esc>:w<enter>:!./%<enter>

" ---------------
" --- VIMPLUG ---
" ---------------

call plug#begin() " Default directory: '~/.vim/plugged'

"Plug 'preservim/nerdtree'
"Plug 'tpope/vim-fugitive'
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
Plug 'itchyny/lightline.vim'
"Plug 'mattn/emmet-vim'

call plug#end() " Initialize plugin system (automatically executes `filetype plugin indent on` and `syntax enable`)

" ----------------
" --- EYECANDY ---
" ----------------

" --- colors ---
"  See:https://wiki.archlinux.org/title/St#256color_and_truecolor_support_not_working_in_tmux_or_otherwise
"set t_8f=[38;2;%lu;%lu;%lum
"set t_8b=[48;2;%lu;%lu;%lum
colorscheme catppuccin_frappe " Set colorscheme from plugin
"set t_Co=256
set termguicolors
"set background=dark

" --- lightline ---
let g:lightline = {'colorscheme': 'catppuccin_frappe'}    " Sets lightline colorscheme
set laststatus=2                                          " Fix hidden lightline

" ---------------
" --- MAPPING ---
" ---------------

nnoremap <F9> <esc>:w<enter>:!./%<enter>

" ---------------
" --- VIMPLUG ---
" ---------------

call plug#begin() " Default directory: '~/.vim/plugged'

"Plug 'preservim/nerdtree'
"Plug 'tpope/vim-fugitive'
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
Plug 'itchyny/lightline.vim'
"Plug 'mattn/emmet-vim'

call plug#end() " Initialize plugin system (automatically executes `filetype plugin indent on` and `syntax enable`)

" ----------------
" --- EYECANDY ---
" ----------------

" --- colors ---
"  See:https://wiki.archlinux.org/title/St#256color_and_truecolor_support_not_working_in_tmux_or_otherwise
"set t_8f=[38;2;%lu;%lu;%lum
"set t_8b=[48;2;%lu;%lu;%lum
colorscheme catppuccin_frappe " Set colorscheme from plugin
"set t_Co=256
set termguicolors
"set background=dark

" --- lightline ---
let g:lightline = {'colorscheme': 'catppuccin_frappe'}    " Sets lightline colorscheme
set laststatus=2                                          " Fix hidden lightline

Last edited by kerbless (2023-02-13 21:16:45)

Offline

#2 2023-02-13 18:09:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,383

Re: [SOLVED] Could it be that upgrading messed my vim colorscheme?

This looks more like a problem w/ the syntax highlighter than w/ the color scheme.
Check your pacman log on what actually was updated and which vim-related packages are among that.

Regardless, try the behavior of the highlighter w/o the local plugins.

Also your vimrc seems to have all entries doubled?

Offline

#3 2023-02-13 18:45:59

kerbless
Member
Registered: 2023-02-13
Posts: 3

Re: [SOLVED] Could it be that upgrading messed my vim colorscheme?

seth wrote:

Also your vimrc seems to have all entries doubled?

Whoops that was just me pasting it wrongly.

seth wrote:

Regardless, try the behavior of the highlighter w/o the local plugins.

I tried commenting out the plugins and the "eyecandy" settings and the highlight is still weird

seth wrote:

Check your pacman log on what actually was updated and which vim-related packages are among that.

Okay I found something, I read the recent "base-devel" announcement and my dumbhead was messing with pacman to check if I had that (meta?) package, seems like I installed it by accident :P

pacman.log

...
[2023-02-12T15:47:59+0100] [PACMAN] Running 'pacman -Syu base-devel'
[2023-02-12T15:47:59+0100] [PACMAN] synchronizing package lists
[2023-02-12T15:48:01+0100] [PACMAN] starting full system upgrade
[2023-02-12T15:48:29+0100] [PACMAN] Running 'pacman -Syu'
[2023-02-12T15:48:29+0100] [PACMAN] synchronizing package lists
[2023-02-12T15:48:34+0100] [PACMAN] starting full system upgrade
[2023-02-12T15:49:20+0100] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-02-12T15:49:20+0100] [ALPM] transaction started
[2023-02-12T15:49:20+0100] [ALPM] upgraded boost-libs (1.81.0-2 -> 1.81.0-3)
[2023-02-12T15:49:20+0100] [ALPM] upgraded freetype2 (2.12.1-1 -> 2.13.0-1)
[2023-02-12T15:49:20+0100] [ALPM] upgraded e2fsprogs (1.46.6-1 -> 1.47.0-1)
[2023-02-12T15:49:20+0100] [ALPM] upgraded dbus (1.14.4-1 -> 1.14.6-1)
[2023-02-12T15:49:20+0100] [ALPM] upgraded cryptsetup (2.6.0-1 -> 2.6.1-1)
[2023-02-12T15:49:21+0100] [ALPM] upgraded electron19 (19.1.9-3 -> 19.1.9-4)
[2023-02-12T15:49:21+0100] [ALPM] upgraded code (1.75.0-1 -> 1.75.1-1)
[2023-02-12T15:49:21+0100] [ALPM] upgraded electron21 (21.3.5-1 -> 21.3.5-2)
[2023-02-12T15:49:21+0100] [ALPM] upgraded fakeroot (1.31-1 -> 1.31-2)
[2023-02-12T15:49:22+0100] [ALPM] upgraded libimagequant (4.0.4-1 -> 4.1.0-1)
[2023-02-12T15:49:23+0100] [ALPM] upgraded linux (6.1.10.arch1-1 -> 6.1.11.arch1-1)
[2023-02-12T15:49:24+0100] [ALPM] upgraded signal-desktop (6.5.0-1 -> 6.5.1-1)
[2023-02-12T15:49:24+0100] [ALPM] upgraded telegram-desktop (4.6.1-1 -> 4.6.2-2)
[2023-02-12T15:49:24+0100] [ALPM] upgraded vim-runtime (9.0.1182-1 -> 9.0.1302-1)
[2023-02-12T15:49:24+0100] [ALPM] upgraded vim (9.0.1182-1 -> 9.0.1302-1)
[2023-02-12T15:49:25+0100] [ALPM] transaction completed
[2023-02-12T15:49:25+0100] [ALPM] running '20-systemd-sysusers.hook'...
[2023-02-12T15:49:26+0100] [ALPM] running '30-systemd-daemon-reload.hook'...
[2023-02-12T15:49:26+0100] [ALPM] running '30-systemd-tmpfiles.hook'...
[2023-02-12T15:49:26+0100] [ALPM] running '30-systemd-udev-reload.hook'...
[2023-02-12T15:49:27+0100] [ALPM] running '30-systemd-update.hook'...
[2023-02-12T15:49:27+0100] [ALPM] running '60-depmod.hook'...
[2023-02-12T15:49:28+0100] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-12T15:49:28+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2023-02-12T15:49:28+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2023-02-12T15:49:28+0100] [ALPM-SCRIPTLET] ==> Starting build: 6.1.11-arch1-1
[2023-02-12T15:49:28+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-02-12T15:49:29+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-02-12T15:49:30+0100] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2023-02-12T15:49:30+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-02-12T15:49:30+0100] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-02-12T15:49:35+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-02-12T15:49:35+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-02-12T15:49:36+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET] ==> Starting build: 6.1.11-arch1-1
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-02-12T15:49:37+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: ast
[2023-02-12T15:49:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-02-12T15:49:51+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2023-02-12T15:49:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-02-12T15:49:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-02-12T15:49:51+0100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-02-12T15:49:52+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2023-02-12T15:49:52+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2023-02-12T15:49:53+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla2xxx
[2023-02-12T15:49:53+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla1280
[2023-02-12T15:49:53+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qed
[2023-02-12T15:49:53+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2023-02-12T15:49:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-02-12T15:49:55+0100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-02-12T15:49:58+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-02-12T15:49:58+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2023-02-12T15:49:59+0100] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-02-12T15:49:59+0100] [ALPM] running 'gtk-update-icon-cache.hook'...
[2023-02-12T15:49:59+0100] [ALPM] running 'texinfo-install.hook'...
[2023-02-12T15:49:59+0100] [ALPM] running 'update-desktop-database.hook'...
...

notice the vim package updated, I checked the version and it's in fact 

9.0.1302-1

but

pacman -Q base-devel

gives nothing, can I revert that somehow?

Thanks for the help.

Offline

#4 2023-02-13 19:48:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,383

Re: [SOLVED] Could it be that upgrading messed my vim colorscheme?

Downgrade vim to the previous version and see whether the issue remains.
The base-devel package (presence) will not be relevant here.

Offline

#5 2023-02-13 19:59:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Could it be that upgrading messed my vim colorscheme?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2023-02-13 21:16:26

kerbless
Member
Registered: 2023-02-13
Posts: 3

Re: [SOLVED] Could it be that upgrading messed my vim colorscheme?

Downgrading vim and vim-runtime solved the issue, thanks for the help and the relevand github issue. Marking as solved.

Offline

Board footer

Powered by FluxBB