sponsor Vim development Vim logo Vim Book Ad

headers.vim : Syntax highlighting for SMTP/HTTP headers

 script karma  Rating 7/4, Downloaded by 971  Comments, bugs, improvements  Vim wiki

created by
sim b
 
script type
syntax
 
description
Does some basic syntax highlighting for SMTP and HTTP header information.

Currently identifies and colours:
  - header names
  - dates
  - times
  - hostnames
  - IP addresses
  - content-type headers
  - email addresses

It's kinda kludgy; corrections and suggestions welcome.
 
install details
Drop it into $VIM/vim61/syntax.

To highlight a file:
:set ft=headers
:syn on
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
headers.vim 0.1 2003-05-26 6.0 sim b Initial upload
ip used for rating: 3.145.163.58

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github