sponsor Vim development Vim logo Vim Book Ad

csslint.vim : Vim plugin of csslint

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

created by
wang yicuan
 
script type
utility
 
description
Credit [jslint.vim](https://github.com/hallettj/jslint.vim) and [csslint](http://csslint.net/)

I am not sure it could work well in Windows.

I will update this plugin in [GitHub](https://github.com/bolasblack/csslint), but not in vim.org.

need nodejs:

    sudo pacman -S nodejs (archlinux)
    sudo apt-get install nodejs (ubuntu, debian)

need npm:

    yaourt nodejs-npm (archlinux)
    curl http://npmjs.org/install.sh | sh (other)

need csslint:

    sudo npm install -g csslint

csslint.vim will be actived if file is css or less default, you can config it in .vimrc:

    let g:CSSLint_FileTypeList = ['css', 'less', 'sess']

you can deactivate it:

    let g:CSSLint_HighlightErrorLine = 0
 
install details
Copy file into $VIM/plugin/, need Python
 

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
csslint.vim 0.1 2011-11-26 7.2 wang yicuan Initial upload
ip used for rating: 18.118.140.108

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