annotate runtime/ftplugin/elm.vim @ 25102:b7062becbfb5
v8.2.3088
patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong
Commit: https://github.com/vim/vim/commit/9cee4a1c9c69542ccd73bcd2db05920150856361
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 3 15:08:37 2021 +0200
patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong
Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
using "$". (Marco Trosi)
Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 03 Jul 2021 15:15:03 +0200 |
parents |
661eb972cb22 |
children |
4d76b3e07c07 |
rev |
line source |
20753
|
1 " Elm filetype plugin file
|
|
2 " Language: Elm
|
|
3 " Maintainer: Andreas Scharf <as@99n.de>
|
|
4 " Latest Revision: 2020-05-29
|
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
|
14 setlocal comments=s1fl:{-,mb:\ ,ex:-},:--
|
|
15 setlocal commentstring=--\ %s
|
|
16
|
|
17 let &cpo = s:cpo_save
|
|
18 unlet s:cpo_save
|