css.vim 666 B

123456789101112131415161718192021222324252627
  1. " Vim filetype plugin file
  2. " Language: CSS
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
  5. " Last Change: 2020 Dec 21
  6. " 2024 Jun 02 by Riley Bruins <ribru17@gmail.com> ('commentstring')
  7. if exists("b:did_ftplugin")
  8. finish
  9. endif
  10. let b:did_ftplugin = 1
  11. let s:cpo_save = &cpo
  12. set cpo&vim
  13. let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<"
  14. setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */
  15. setlocal formatoptions-=t formatoptions+=croql
  16. setlocal omnifunc=csscomplete#CompleteCSS
  17. setlocal iskeyword+=-
  18. let &l:include = '^\s*@import\s\+\%(url(\)\='
  19. let &cpo = s:cpo_save
  20. unlet s:cpo_save