sponsor Vim development Vim logo Vim Book Ad

txt.vim : Universal syntax script for all txt docs, logs and other types

 script karma  Rating 133/71, Downloaded by 5483  Comments, bugs, improvements  Vim wiki

created by
Tomasz Kalkosinski
 
script type
syntax
 
description
This is an universal syntax script for all text documents, logs, changelogs, readmes and all other strange and undetected filetypes. The goal is to keep it very simple.It colors numbers, operators, signs, cites, brackets, delimiters, comments, TODOs, errors, debug, changelog tags and basic smileys ;]

Visit project site for details and comparision screenshots:
http://spoonman.eu/wiki/index.php?page=txt+syntax+file

I'd also suggest to add a file into your $HOME/ftdetect called txt.vim that contains a line:
au BufRead,BufNewFile *  setfiletype txt
This way if Vim cannot detect a filetype of a file you've just opened - it sets this universal syntax.

Your suggestions are very welcome.
 
install details
Download package and unzip to your $HOME/syntax directory.
 

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
txt-vim-syntax-1.2.zip 1.2 2007-01-03 6.0 Tomasz Kalkosinski 1.2 Release (03.01.2007)
- add: Changelog tags: add, chg, fix, rem, del linked with Keyword
- add: note to txtTodo group
txt.vim 1.1 2006-06-30 6.0 Tomasz Kalkosinski Add: International cites
Chg: txtString color to Normal
Chg: Simplified number coloring working better now
txt.vim 1.0 2006-04-28 6.0 Tomasz Kalkosinski Initial upload
ip used for rating: 18.97.9.175

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