In vim by default syntax highlight are not enable so to enable the syntax highlight in vim we need to set it manually also we can disable.Here i am describe how to enable and disable syntax highlighting in vim.
This command will not run in insert and visual mode.It will work in command mode. for command mode press ESC key then write below
Enable syntax highlighting in vim
:syntax onDisable syntax highlighting in vim
:syntax offIf you want by default vim load this above setting then write in your .vimrc file
syntax onlike as we mention on above.
Thanks!