annotate runtime/indent/d.vim @ 35165:d0498ef60b5b default tip

ftplugin(python): E16 fix, async keyword support for define (#14751) Commit: https://github.com/vim/vim/commit/86f6e2c2eed7df2bf5c60cc74d08d7a8d3c75f45 Author: Tom Picton <tom@tompicton.com> Date: Sat May 11 14:26:06 2024 -0400 ftplugin(python): E16 fix, async keyword support for define (https://github.com/vim/vim/issues/14751) This change includes the following changes: - Fix "E16: Invalid range" when using a count with jump to start/end of class/method - Update define with optional async keyword - Update maintainer email Signed-off-by: Tom Picton <tom@tompicton.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 11 May 2024 20:30:08 +0200
parents 6dd88e45d47d
children
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 " Language: D
25880
9c221ad9634a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 557
diff changeset
3 " Maintainer: Jason Mills <jmills@cs.mun.ca> (Invalid email address)
9c221ad9634a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 557
diff changeset
4 " Doug Kearns <dougkearns@gmail.com>
28379
6dd88e45d47d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25880
diff changeset
5 " Last Change: 2022 Apr 06
557
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
28379
6dd88e45d47d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25880
diff changeset
22 let b:undo_indent = "setl cin<"
6dd88e45d47d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25880
diff changeset
23
557
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
24 " vim: ts=8 noet