Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from Nivl/master
Browse files Browse the repository at this point in the history
Color the word "forms" and ignore compiled files
  • Loading branch information
Grigory V committed Jul 24, 2011
2 parents 3c1a0ec + 866dd67 commit ac7a667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
*~
*.DS_Store
*.elc
4 changes: 2 additions & 2 deletions django-mode.el
Expand Up @@ -154,7 +154,7 @@
(add-hook 'django-mode-hook
(lambda ()
(font-lock-add-keywords nil
'(("\\<\\(django\\|models\\|request\\)" 1 font-lock-type-face)
'(("\\<\\(django\\|models\\|forms\\|request\\)" 1 font-lock-type-face)
("\\<\\(get_list_or_404\\|get_object_or_404\\|redirect\\|render_to_response\\)" . font-lock-builtin-face))
)))

Expand All @@ -181,4 +181,4 @@
(add-to-list 'auto-mode-alist '("\\<\\(models\\|views\\|handlers\\|feeds\\|sitemaps\\|admin\\|context_processors\\|urls\\|settings\\|tests\\|assets\\|forms\\).py" . django-mode))

(provide 'django-mode)
;; django-mode.el ends here
;; django-mode.el ends here

0 comments on commit ac7a667

Please sign in to comment.