2014-07-10 21:05:51 -07:00
|
|
|
" Vim filetype plugin file
|
2021-04-29 17:43:22 -07:00
|
|
|
" Language: CSS
|
|
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
|
|
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
2021-05-01 18:09:53 -07:00
|
|
|
" Last Change: 2020 Dec 21
|
2024-06-04 00:39:28 -07:00
|
|
|
" 2024 Jun 02 by Riley Bruins <ribru17@gmail.com> ('commentstring')
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("b:did_ftplugin")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo&vim
|
|
|
|
|
2021-05-01 18:09:53 -07:00
|
|
|
let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<"
|
2014-07-10 21:05:51 -07:00
|
|
|
|
2024-06-04 00:39:28 -07:00
|
|
|
setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */
|
2014-07-10 21:05:51 -07:00
|
|
|
setlocal formatoptions-=t formatoptions+=croql
|
|
|
|
setlocal omnifunc=csscomplete#CompleteCSS
|
2021-05-01 18:09:53 -07:00
|
|
|
setlocal iskeyword+=-
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
let &l:include = '^\s*@import\s\+\%(url(\)\='
|
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|