I used the :hi
command with vi open, and the output was colorful. According to Ingo Karkat that meant that there were no syntax definitions/filetype detections installed in the container. I used zypper install -y vim-data
, and vi started to highlight syntax in files.