I get no syntax highlight now in Debian's Vim by the workflow which works in Ubuntu 16.04: installation of packages and activating syntax
- installation
apt-get install vim texlive-full
- activation in Vim,
:set syntax=latex
I know that the Texlive is working because I get correct LaTeX syntax in Geany.
Debian: 8.5
Vim: release of the year 2006
:ver
(post only 7.x.xxxx). Please mention if you have a personal vimrc. You needsyntax on
. The filetype for latex istex
, notlatex
. For tex it isplaintex
. The sentenceI know that the Texlive is working because I get correct LaTeX syntax in Geany.
is not true: syntax highlighting in editors (geany, vim, ...) works without having texlive installed at all and is no indication whether texlive actually works.