What distro/environment are you using? Typically with Red Hat-based distros
you need the vim-enhanced package installed for colour syntax highlighting.

On Mon, 3 Oct 2022 at 12:32, Aharonu <[email protected]> wrote:

> Thank you for your assistance. I have just applied what you suggested but
> I still see there is no coloring format for my anisble playbooks.  Please
> see attached file and request to suggest if something I'm missing.
>
> Thank you again for your time.
>
> On Mon, 3 Oct 2022, 16:43 'Rowe, Walter P. (Fed)' via Ansible Project, <
> [email protected]> wrote:
>
>> 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]> 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].
>> 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
>> <https://groups.google.com/d/msgid/ansible-project/42D1AC16-DB1E-413C-8FB8-88DF49C14793%40nist.gov?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CANGEjuV2a%2Bb7vxzcfb7T5SwuR%2BMKZGf8%2Bce9myNoM8sLZVT7hw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CANGEjuV2a%2Bb7vxzcfb7T5SwuR%2BMKZGf8%2Bce9myNoM8sLZVT7hw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAKtKohRtWS%2BnEhzkgNg1xB3FnrFHGO02RSyjGbsotixjSvtXvA%40mail.gmail.com.

Reply via email to