I was wondering how can I get this colorful syntax highlighting
in vim
on my Mac. I didn't add any libraries on my ubuntu
desktop to get the syntax as shown in the image. Is it possible to get this behavior on Mac
as well?
In Mac OSX edit your .vimrc file:
vi ~/.vimrc
and add the following:
filetype plugin indent on
syntax on
Save and close (:x
) and try opening your python file again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With