css.vim 586 B

1234567891011121314151617181920212223242526
  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. if exists("b:did_ftplugin")
  7. finish
  8. endif
  9. let b:did_ftplugin = 1
  10. let s:cpo_save = &cpo
  11. set cpo&vim
  12. let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<"
  13. setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
  14. setlocal formatoptions-=t formatoptions+=croql
  15. setlocal omnifunc=csscomplete#CompleteCSS
  16. setlocal iskeyword+=-
  17. let &l:include = '^\s*@import\s\+\%(url(\)\='
  18. let &cpo = s:cpo_save
  19. unlet s:cpo_save