stylelint.vim 1.0 KB

12345678910111213141516171819202122232425
  1. "============================================================================
  2. "File: stylelint.vim
  3. "Description: Syntax checking plugin for syntastic using `stylelint`
  4. " (https://github.com/stylelint/stylelint).
  5. "Maintainer: Tim Carry <tim at pixelastic dot com>
  6. "License: This program is free software. It comes without any warranty,
  7. " to the extent permitted by applicable law. You can redistribute
  8. " it and/or modify it under the terms of the Do What The Fuck You
  9. " Want To Public License, Version 2, as published by Sam Hocevar.
  10. " See http://sam.zoy.org/wtfpl/COPYING for more details.
  11. "
  12. "============================================================================
  13. if exists('g:loaded_syntastic_html_stylelint_checker')
  14. finish
  15. endif
  16. let g:loaded_syntastic_html_stylelint_checker = 1
  17. call g:SyntasticRegistry.CreateAndRegisterChecker({
  18. \ 'filetype': 'html',
  19. \ 'name': 'stylelint',
  20. \ 'redirect': 'css/stylelint'})
  21. " vim: set sw=4 sts=4 et fdm=marker: