diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-20 21:46:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-20 21:46:00 +0200 |
commit | 218116c1d0bacf1bceb93699258c23308617b43c (patch) | |
tree | 971357927080ba2d1cc08500f0069b3619af5ecb /runtime | |
parent | fa7584cb8627e3e4226b26ef1bff42f82b8eee1e (diff) |
Various smaller changes. Updated proto files. Updated dependencies.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/version7.txt | 2 | ||||
-rw-r--r-- | runtime/syntax/django.vim | 16 |
2 files changed, 11 insertions, 7 deletions
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index bdae492295..a49eae7635 100644 --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -7166,6 +7166,8 @@ don't save what you see. This could result in work being lost. Now the text after recovery is compared to the original file contents. When they differ the buffer is marked as modified. +Use BASEMODLIBS instead of MODLIBS for Python configuration. (Michael Bienia) + Added *added-7.3* ----- diff --git a/runtime/syntax/django.vim b/runtime/syntax/django.vim index da35406e88..67c46b7260 100644 --- a/runtime/syntax/django.vim +++ b/runtime/syntax/django.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Django template " Maintainer: Dave Hodder <dmh@dmh.org.uk> -" Last Change: 2008 Dec 18 +" Last Change: 2010 May 19 " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -18,9 +18,11 @@ syn match djangoError "%}\|}}\|#}" " Django template built-in tags and parameters " 'comment' doesn't appear here because it gets special treatment -syn keyword djangoStatement contained autoescape on off endautoescape +syn keyword djangoStatement contained autoescape csrf_token empty +" FIXME ==, !=, <, >, <=, and >= should be djangoStatements: +" syn keyword djangoStatement contained == != < > <= >= syn keyword djangoStatement contained and as block endblock by cycle debug else -syn keyword djangoStatement contained extends filter endfilter firstof for empty +syn keyword djangoStatement contained extends filter endfilter firstof for syn keyword djangoStatement contained endfor if endif ifchanged endifchanged syn keyword djangoStatement contained ifequal endifequal ifnotequal syn keyword djangoStatement contained endifnotequal in include load not now or @@ -38,11 +40,11 @@ syn keyword djangoFilter contained add addslashes capfirst center cut date syn keyword djangoFilter contained default default_if_none dictsort syn keyword djangoFilter contained dictsortreversed divisibleby escape escapejs syn keyword djangoFilter contained filesizeformat first fix_ampersands -syn keyword djangoFilter contained floatformat force_escape get_digit iriencode join last length length_is +syn keyword djangoFilter contained floatformat get_digit join last length length_is syn keyword djangoFilter contained linebreaks linebreaksbr linenumbers ljust syn keyword djangoFilter contained lower make_list phone2numeric pluralize -syn keyword djangoFilter contained pprint random removetags rjust safe slice slugify -syn keyword djangoFilter contained stringformat striptags +syn keyword djangoFilter contained pprint random removetags rjust slice slugify +syn keyword djangoFilter contained safe safeseq stringformat striptags syn keyword djangoFilter contained time timesince timeuntil title syn keyword djangoFilter contained truncatewords truncatewords_html unordered_list upper urlencode syn keyword djangoFilter contained urlize urlizetrunc wordcount wordwrap yesno @@ -54,7 +56,7 @@ syn keyword djangoTodo contained TODO FIXME XXX syn region djangoArgument contained start=/"/ skip=/\\"/ end=/"/ " Mark illegal characters within tag and variables blocks -syn match djangoTagError contained "#}\|{{\|[^%]}}\|[<>!&#]" +syn match djangoTagError contained "#}\|{{\|[^%]}}\|[&#]" syn match djangoVarError contained "#}\|{%\|%}\|[<>!&#%]" " Django template tag and variable blocks |