Mercurial > vim
comparison runtime/indent/cdl.vim @ 28379:6dd88e45d47d
Update runtime files
Commit: https://github.com/vim/vim/commit/cbaff5e06ec525d31dc44093125c42029e01d508
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 8 17:45:08 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Apr 2022 19:00:04 +0200 |
parents | 9c221ad9634a |
children | d6dde6229b36 |
comparison
equal
deleted
inserted
replaced
28378:b8d39e361293 | 28379:6dd88e45d47d |
---|---|
1 " Description: Comshare Dimension Definition Language (CDL) | 1 " Description: Comshare Dimension Definition Language (CDL) |
2 " Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net> (Invalid email address) | 2 " Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net> (Invalid email address) |
3 " Doug Kearns <dougkearns@gmail.com> | 3 " Doug Kearns <dougkearns@gmail.com> |
4 " Last Change: Fri Nov 30 13:35:48 2001 CST | 4 " Last Change: 2022 Apr 06 |
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=CdlGetIndent(v:lnum) | 11 setlocal indentexpr=CdlGetIndent(v:lnum) |
12 setlocal indentkeys& | 12 setlocal indentkeys& |
13 setlocal indentkeys+==~else,=~endif,=~then,;,),= | 13 setlocal indentkeys+==~else,=~endif,=~then,;,),= |
14 | |
15 let b:undo_indent = "setl inde< indk<" | |
14 | 16 |
15 " Only define the function once. | 17 " Only define the function once. |
16 if exists("*CdlGetIndent") | 18 if exists("*CdlGetIndent") |
17 "finish | 19 "finish |
18 endif | 20 endif |