-
Notifications
You must be signed in to change notification settings - Fork 3
Universal syntax script for all txt docs, logs and other types
License
vim-scripts/txt.vim
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1532 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: http://www.haze.ehost.pl/spoonman/index.php5?p=9 or take a look at 4 comparision screenshots (version 1.2, colors used: dusk and moria): http://www.haze.ehost.pl/spoonman/images/vim-txt-dusk-1-1.2.png http://www.haze.ehost.pl/spoonman/images/vim-txt-moria-1-1.2.png http://www.haze.ehost.pl/spoonman/images/vim-txt-dusk-2-1.2.png http://www.haze.ehost.pl/spoonman/images/vim-txt-moria-2-1.2.png 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.
About
Universal syntax script for all txt docs, logs and other types