annotate runtime/indent/d.vim @ 19328:e99e6d794597 v8.2.0222

patch 8.2.0222: Vim9: optional function arguments don't work yet Commit: https://github.com/vim/vim/commit/170fcfcf250954d76fca86e3fed088ddfdb49383 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 6 17:51:35 2020 +0100 patch 8.2.0222: Vim9: optional function arguments don't work yet Problem: Vim9: optional function arguments don't work yet. Solution: Implement optional function arguments.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Feb 2020 18:00:04 +0100
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