Hello,
I’m running Vim on latest Calculinux version as root (/home/root) and getting persistent startup errors despite tweaking my .vimrc. Vim version appears to be 9.1 based on paths (/usr/share/vim/vim91). Using packages from Index of /ipk/walnascar/continuous/cortexa7t2hf-neon-vfpv4/. Here’s the exact error output:
failed to load colors/lists/defaults.vim
Error detected while processing /home/root/.vimrc[2]../usr/share/vim/vim91/syntax/syntax.vim[20]../user/share/vim/vim91/syntax/synload.vim[22]../usr/share/vim/vim91/syntax/syncolor.vim:
line 37:
E254: Cannot allocate color Orange
Error detected while processing /home/root/.vimrc[2]../usr/share/vim/vim91/syntax/syntax.vim::
line 44:
E216: No such group or event: filetypedetect BufRead
My current minimal .vimrc:
set nocompatible
set t_Co=8
filetype plugin indent on
set number
syntax enable (Or syntax on)
Even with export TERM=vt100 and vim -u NONE working clean, full startup fails on syntax loading. termguicolors and 256 colors also crash with E254.
What I’ve tried:
- Reordered filetype/syntax enables
- set runtimepath^=/usr/share/vim/vim91
- t_Co=8/16, no truecolor
- Noticed path glitch: “../user/” vs “/usr/” in errors
Any Calculinux users fixed Vim syntax highlighting? Thanks!