annotate runtime/indent/d.vim @ 32092:60f330eb0376 v9.0.1377

patch 9.0.1377: job_status() may return "dead" if the process parent changed Commit: https://github.com/vim/vim/commit/5c6a3c9bad67c2ce766f55dbecb3461f14833a42 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 4 13:23:26 2023 +0000 patch 9.0.1377: job_status() may return "dead" if the process parent changed Problem: job_status() may return "dead" if the process parent changed. Solution: Call mch_process_running() to check if the job is still alive.
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Mar 2023 14:30:04 +0100
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