css.vim 528 B

123456789101112131415161718192021222324
  1. " Vim filetype plugin file
  2. " Language: CSS
  3. " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
  4. " Latest Revision: 2008-07-09
  5. if exists("b:did_ftplugin")
  6. finish
  7. endif
  8. let b:did_ftplugin = 1
  9. let s:cpo_save = &cpo
  10. set cpo&vim
  11. let b:undo_ftplugin = "setl com< cms< inc< fo< ofu<"
  12. setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
  13. setlocal formatoptions-=t formatoptions+=croql
  14. setlocal omnifunc=csscomplete#CompleteCSS
  15. let &l:include = '^\s*@import\s\+\%(url(\)\='
  16. let &cpo = s:cpo_save
  17. unlet s:cpo_save