Mercurial > vim
annotate runtime/indent/d.vim @ 19497:639b1d672757 v8.2.0306
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script
Commit: https://github.com/vim/vim/commit/83f37b91426b419a913aa4f42d041b2111b57864
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 23 14:35:01 2020 +0100
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script
Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
Solution: Remember starting with a colon. (closes https://github.com/vim/vim/issues/5676)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Feb 2020 14:45:03 +0100 |
parents | 862863033fdd |
children | 9c221ad9634a |
rev | line source |
---|---|
557 | 1 " Vim indent file for the D programming language (version 0.137). |
2 " | |
3 " Language: D | |
4 " Maintainer: Jason Mills<jmills@cs.mun.ca> | |
5 " Last Change: 2005 Nov 22 | |
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 | |
22 " vim: ts=8 noet |