annotate runtime/indent/d.vim @ 21572:e9954158a9cf v8.2.1336

patch 8.2.1336: build failure on non-Unix systems Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 13:22:10 2020 +0200 patch 8.2.1336: build failure on non-Unix systems Problem: Build failure on non-Unix systems. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 13:30:05 +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