Attached is my vimrc file. Place it in ~/.vimrc. This also maps F7 to toggle syntax highlighting. VIM has syntax aware code. You just need to enable it.
Walter -- Walter Rowe, Division Chief Infrastructure Services, OISM Mobile: 202.355.4123 On Oct 1, 2022, at 10:16 AM, Aharonu <[email protected]<mailto:[email protected]>> wrote: Hi All, Could anyone please direct me what options i need to use/enable for while writing playbooks in vi editor colour indication lines as mentioned attached example. Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CANGEjuW1whch3WYr7AVT_jstQ3pqrT2t-967xndht0FyFH6Xag%40mail.gmail.com<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FCANGEjuW1whch3WYr7AVT_jstQ3pqrT2t-967xndht0FyFH6Xag%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7Cwalter.rowe%40nist.gov%7C37bad48c2e4645f3d26f08daa3b7c6e7%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C638002306966604358%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=KNxuYKeQR4Vcl3%2BT7y9Ssd%2FBSOCbWa1DYJph8xKS2N0%3D&reserved=0>. <download.jpeg> -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/42D1AC16-DB1E-413C-8FB8-88DF49C14793%40nist.gov.
vimrc
Description: vimrc
