Mercurial > vim
comparison runtime/indent/css.vim @ 3557:9cb3a75a20b9
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 01 Jun 2012 22:38:45 +0200 |
parents | dd6c2497c997 |
children | 1218c5353e2b |
comparison
equal
deleted
inserted
replaced
3556:1110869e267a | 3557:9cb3a75a20b9 |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: CSS | 2 " Language: CSS |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | 3 " Maintainer: Nikolai Weibull <now@bitwi.se> |
4 " Latest Revision: 2010-12-22 | 4 " Latest Revision: 2012-05-30 |
5 | 5 |
6 if exists("b:did_indent") | 6 if exists("b:did_indent") |
7 finish | 7 finish |
8 endif | 8 endif |
9 let b:did_indent = 1 | 9 let b:did_indent = 1 |
10 | 10 |
11 setlocal indentexpr=GetCSSIndent() | 11 setlocal indentexpr=GetCSSIndent() |
12 setlocal indentkeys=0{,0},!^F,o,O | 12 setlocal indentkeys=0{,0},!^F,o,O |
13 setlocal nosmartindent | 13 setlocal nosmartindent |
14 | |
15 let b:undo_indent = "setl smartindent< indentkeys< indentexpr<" | |
14 | 16 |
15 if exists("*GetCSSIndent") | 17 if exists("*GetCSSIndent") |
16 finish | 18 finish |
17 endif | 19 endif |
18 let s:keepcpo= &cpo | 20 let s:keepcpo= &cpo |