neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

css.vim (666B)


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