annotate runtime/ftplugin/elinks.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 |
1218c5353e2b |
children |
|
rev |
line source |
375
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: elinks(1) configuration file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
375
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
375
|
15
|
389
|
16 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|