Commits

bmearns  committed 8c8cd64

Fixed the vim syntax file so the change to iskeyword is local to the templ buffer only.

  • Participants
  • Parent commits 647f48c

Comments (0)

Files changed (2)

File misc/templ.vim

 call TemplCodeSnip("python")
 call TemplCodeSnip("xml")
 call TemplCodeSnip("html")
+call TemplCodeSnip("xhtml")
 call TemplCodeSnip("javascript")
 call TemplCodeSnip("css")
+call TemplCodeSnip("tex")
+call TemplCodeSnip("php")
+call TemplCodeSnip("yacc")
+call TemplCodeSnip("rest")
 
 " Tags inside comments
 syn     match       templDocTagTodo        "TODO\c"                    contained
 syn match templTag '{\@<=\_\s*[^{ \t\n\r"}]\+' contained containedin=templList contains=templKnownFunctions
 
 "Keywords can include any printable characters except space and curly braces.
-set iskeyword=33-122,124,126
+setlocal iskeyword=33-122,124,126
 
 call AddKnownFunction( "!=" )
 call AddKnownFunction( "!==" )
     license=license,
     description='Template Processing Language.',
     long_description=readme,
+
+    data_files = [
+        ('misc', ['LICENSE.txt', 'README.txt', 'BUGS.txt', 'CHANGES.txt']),
+    ],
+
     entry_points = {
         "console_scripts" : [
             'templ = templ.templ:main',
         ],
     },
-    data_files = [
-        ('misc', ['LICENSE.txt', 'README.txt', 'BUGS.txt', 'CHANGES.txt']),
-    ],
 )