The Linux view command looks at files, such as xml, why there is no syntax highlighting?

The

Linux view command looks at files, such as xml, why there is no syntax highlighting?

vi check for syntax highlighting. How can view turn on syntax highlighting?

May.28,2021

The

view command is essentially vim-R . It's OK for me to highlight the view command. Can you try to change it to vim-R ?

if there is no highlight, check whether the vim option is enabled syntax on ?


Linux is not an exact title, what release?

Menu