annotate runtime/indent/d.vim @ 18265:fe5afdc03bd2 v8.1.2127

patch 8.1.2127: the indent.c file is a bit big Commit: https://github.com/vim/vim/commit/14c01f83487d5c53192297a710eda2b8a4ab17c9 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 9 22:53:08 2019 +0200 patch 8.1.2127: the indent.c file is a bit big Problem: The indent.c file is a bit big. Solution: Move C-indent code a a new cindent.c file. Move other indent-related code to indent.c. (Yegappan Lakshmanan, closes #5031)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Oct 2019 23:00:04 +0200
parents 862863033fdd
children 9c221ad9634a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
557
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
1 " Vim indent file for the D programming language (version 0.137).
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
2 "
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
3 " Language: D
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
4 " Maintainer: Jason Mills<jmills@cs.mun.ca>
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
5 " Last Change: 2005 Nov 22
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
6 " Version: 0.1
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
7 "
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
8 " Please email me with bugs, comments, and suggestion. Put vim in the subject
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
9 " to ensure the email will not be marked has spam.
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
10 "
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
11
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
12 " Only load this indent file when no other was loaded.
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
13 if exists("b:did_indent")
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
14 finish
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
15 endif
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
16
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
17 let b:did_indent = 1
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
18
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
19 " D indenting is a lot like the built-in C indenting.
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
20 setlocal cindent
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
21
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
22 " vim: ts=8 noet