sponsor Vim development Vim logo Vim Book Ad

smartmatcheol.vim : Smart matching of trailing whitespace

 script karma  Rating 0/0, Downloaded by 1816  Comments, bugs, improvements  Vim wiki

created by
Konstantin Lepa
 
script type
utility
 
description
If you don't want to highlight trailing whitespaces in all filetypes, then you can use the plug-in.

NB: If you are using `textwidth' option, then plug-in will highlight all characters after `textwidth' length.

 
install details
1. Move smartmatcheol.vim into ~/.vim/plugin/
2. Define g:sme_extlist and g:sme_filelist in ~/.vimrc for highlighting. For example:
let g:sme_extlist = [ "c", "h", "py", "cc", "cpp", "hpp", "xml", "xslt", "vim"]
let g:sme_filelist = [ "CMakeLists.txt", "vimrc" ]
 

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
smartmatcheol.vim 1.0.1 2009-05-16 7.0 Konstantin Lepa Fixed bug in parsing g:sme_filelist.
smartmatcheol.vim 1.0.0 2009-05-16 7.0 Konstantin Lepa Initial upload
ip used for rating: 142.132.191.50

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