Mercurial > vim
comparison runtime/indent/css.vim @ 25880:9c221ad9634a
Update runtime files
Commit: https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 4 21:32:54 2021 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Oct 2021 22:45:05 +0200 |
parents | 1218c5353e2b |
children |
comparison
equal
deleted
inserted
replaced
25879:14ca7cc78a56 | 25880:9c221ad9634a |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: CSS | 2 " Language: CSS |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | 3 " Maintainer: Doug Kearns <dougkearns@gmail.com> |
4 " Latest Revision: 2012-05-30 | 4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> |
5 " Use of shiftwidth() added by Oleg Zubchenko. | 5 " Last Change: 24 Sep 2021 |
6 | |
7 " Use of shiftwidth() added by Oleg Zubchenko. | |
6 | 8 |
7 if exists("b:did_indent") | 9 if exists("b:did_indent") |
8 finish | 10 finish |
9 endif | 11 endif |
10 let b:did_indent = 1 | 12 let b:did_indent = 1 |
11 | 13 |
12 setlocal indentexpr=GetCSSIndent() | 14 setlocal indentexpr=GetCSSIndent() |
13 setlocal indentkeys=0{,0},!^F,o,O | 15 setlocal indentkeys=0{,0},!^F,o,O |
14 setlocal nosmartindent | 16 setlocal nosmartindent |
15 | 17 |
16 let b:undo_indent = "setl smartindent< indentkeys< indentexpr<" | 18 let b:undo_indent = "setl inde< indk< si<" |
17 | 19 |
18 if exists("*GetCSSIndent") | 20 if exists("*GetCSSIndent") |
19 finish | 21 finish |
20 endif | 22 endif |
21 let s:keepcpo= &cpo | 23 let s:keepcpo= &cpo |