Friday, June 27, 2014

Syntax highlighting using vim

Hi everybody.

I have recently started to use django and I really enjoy it. However, I can't seem to achieve the optimal syntax highlighting using vim. I installed the three scripts found from the following link:

http://www.vim.org/scripts/script.php?script_id=1487

However, the resulting highlighting is not great. The image above shows the problem. I would like the highlighting to assign different colors to the variable name "user_list" and the brackets "{%" and "%}". Ideal, the syntax highlighting when editing templates should be as found in this link from the djangoproject tutorial:

https://docs.djangoproject.com/en/1.6/intro/tutorial03/

I have researched and I have not found a solution. Any help would be appreciated.

Best regards,

Christopher


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/51b4a13b-e25d-41bc-a355-9816776ed37f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment