Mercurial > vim
comparison runtime/ftplugin/css.vim @ 1698:f4f8014d516e v7.2c.000
updated for version 7.2c-000
author | vimboss |
---|---|
date | Wed, 06 Aug 2008 17:06:04 +0000 |
parents | 97cc1e746d2c |
children | 1218c5353e2b |
comparison
equal
deleted
inserted
replaced
1697:2f9308b31181 | 1698:f4f8014d516e |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: CSS | 2 " Language: CSS |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | 3 " Maintainer: Nikolai Weibull <now@bitwi.se> |
4 " Latest Revision: 2007-05-08 | 4 " Latest Revision: 2008-07-09 |
5 | 5 |
6 if exists("b:did_ftplugin") | 6 if exists("b:did_ftplugin") |
7 finish | 7 finish |
8 endif | 8 endif |
9 let b:did_ftplugin = 1 | 9 let b:did_ftplugin = 1 |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
10 | 13 |
11 let b:undo_ftplugin = "setl com< cms< inc< fo< ofu<" | 14 let b:undo_ftplugin = "setl com< cms< inc< fo< ofu<" |
12 | 15 |
13 setlocal comments=s1:/*,mb:*,ex:*/ commentstring& | 16 setlocal comments=s1:/*,mb:*,ex:*/ commentstring& |
14 setlocal formatoptions-=t formatoptions+=croql | 17 setlocal formatoptions-=t formatoptions+=croql |
15 setlocal omnifunc=csscomplete#CompleteCSS | 18 setlocal omnifunc=csscomplete#CompleteCSS |
16 | 19 |
17 let &l:include = '^\s*@import\s\+\%(url(\)\=' | 20 let &l:include = '^\s*@import\s\+\%(url(\)\=' |
21 | |
22 let &cpo = s:cpo_save | |
23 unlet s:cpo_save |