vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

css.vim (695B)


      1 " Vim filetype plugin file
      2 " Language:		CSS
      3 " Maintainer:		Doug Kearns <dougkearns@gmail.com>
      4 " Previous Maintainer:	Nikolai Weibull <now@bitwi.se>
      5 " Contributors:		Riley Bruins <ribru17@gmail.com> ('commentstring')
      6 " Last Change:		2026 Aug 22
      7 
      8 if exists("b:did_ftplugin")
      9   finish
     10 endif
     11 let b:did_ftplugin = 1
     12 
     13 let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<"
     14 
     15 setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */
     16 " exclude "ro" - CSS universal selector "*" cannot be distinguished from
     17 " 'comments' middle "*" pattern
     18 setlocal formatoptions-=rot formatoptions+=cql
     19 setlocal omnifunc=csscomplete#CompleteCSS
     20 setlocal iskeyword+=-
     21 
     22 let &l:include = '^\s*@import\s\+\%(url(\)\='
     23