Mercurial > vim
comparison src/testdir/test_textprop.vim @ 16676:79c5f723bb5d v8.1.1340
patch 8.1.1340: attributes from 'cursorline' overwrite textprop
commit https://github.com/vim/vim/commit/bfd451283f8c37926f4b0aa22b74b534bd84e482
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 17 13:05:07 2019 +0200
patch 8.1.1340: attributes from 'cursorline' overwrite textprop
Problem: Attributes from 'cursorline' overwrite textprop.
Solution: Combine the attributes. (closes https://github.com/vim/vim/issues/3912)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 May 2019 13:15:05 +0200 |
parents | 5733d8e33bce |
children | 6f453673eb19 |
comparison
equal
deleted
inserted
replaced
16675:6d9f696696fe | 16676:79c5f723bb5d |
---|---|
643 \ "call prop_add(3, 7, {'length': 2, 'type': 'start'})", | 643 \ "call prop_add(3, 7, {'length': 2, 'type': 'start'})", |
644 \ "call prop_add(3, 11, {'length': 2, 'type': 'end'})", | 644 \ "call prop_add(3, 11, {'length': 2, 'type': 'end'})", |
645 \ "call prop_add(3, 15, {'length': 2, 'type': 'both'})", | 645 \ "call prop_add(3, 15, {'length': 2, 'type': 'both'})", |
646 \ "call prop_add(4, 12, {'length': 10, 'type': 'background'})", | 646 \ "call prop_add(4, 12, {'length': 10, 'type': 'background'})", |
647 \ "call prop_add(4, 17, {'length': 5, 'type': 'error'})", | 647 \ "call prop_add(4, 17, {'length': 5, 'type': 'error'})", |
648 \ "set number", | 648 \ "set number cursorline", |
649 \ "hi clear SpellBad", | 649 \ "hi clear SpellBad", |
650 \ "set spell", | 650 \ "set spell", |
651 \ "syn match Comment '//.*'", | 651 \ "syn match Comment '//.*'", |
652 \ "hi Comment ctermfg=green", | 652 \ "hi Comment ctermfg=green", |
653 \ "normal 3G0llix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>", | 653 \ "normal 3G0llix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>lllix\<Esc>", |