Mercurial > vim
annotate runtime/indent/d.vim @ 29597:f2d7f20d83c3 v9.0.0139
patch 9.0.0139: truncating virtual text after a line not implemented
Commit: https://github.com/vim/vim/commit/398649ee44edeb309c77361de697320378104b70
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 4 15:03:48 2022 +0100
patch 9.0.0139: truncating virtual text after a line not implemented
Problem: Truncating virtual text after a line not implemented.
Cursor positioning wrong with Newline in the text.
Solution: Implement truncating. Disallow control characters in the text.
(closes #10842)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Aug 2022 16:15:08 +0200 |
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 |