annotate runtime/indent/dictconf.vim @ 30359:6391b3ca26b7
v9.0.0515
patch 9.0.0515: virtual text highlight starts too early when 'number' is set
Commit: https://github.com/vim/vim/commit/2fdc9b541918237168ca05ac09eb4bb245e5c6c5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 20 15:59:22 2022 +0100
patch 9.0.0515: virtual text highlight starts too early when 'number' is set
Problem: Virtual text highlight starts too early when 'number' is set.
Solution: Set column offset when wrapping. (issue https://github.com/vim/vim/issues/11138)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Tue, 20 Sep 2022 17:00:05 +0200 |
parents |
6dd88e45d47d |
children |
|
rev |
line source |
389
|
1 " Vim indent file
|
11062
|
2 " Language: dict(1) configuration file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
28379
|
4 " Last Change: 2022 Apr 06
|
389
|
5
|
|
6 if exists("b:did_indent")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_indent = 1
|
|
10
|
|
11 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
|
1201
|
12 setlocal nosmartindent
|
389
|
13 inoremap <buffer> # X#
|
28379
|
14
|
|
15 let b:undo_indent = "setl ai< cinw< indk< si< | silent! iunmap <buffer> #"
|