Mercurial > vim
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 |
rev | line source |
---|---|
557 | 1 " Vim indent file for the D programming language (version 0.137). |
2 " Language: D | |
25880 | 3 " Maintainer: Jason Mills <jmills@cs.mun.ca> (Invalid email address) |
4 " Doug Kearns <dougkearns@gmail.com> | |
28379 | 5 " Last Change: 2022 Apr 06 |
557 | 6 " Version: 0.1 |
7 " | |
8 " Please email me with bugs, comments, and suggestion. Put vim in the subject | |
9 " to ensure the email will not be marked has spam. | |
10 " | |
11 | |
12 " Only load this indent file when no other was loaded. | |
13 if exists("b:did_indent") | |
14 finish | |
15 endif | |
16 | |
17 let b:did_indent = 1 | |
18 | |
19 " D indenting is a lot like the built-in C indenting. | |
20 setlocal cindent | |
21 | |
28379 | 22 let b:undo_indent = "setl cin<" |
23 | |
557 | 24 " vim: ts=8 noet |