comparison runtime/doc/sign.txt @ 22013:125051dff419 v8.2.1556

patch 8.2.1556: cursorline highlighting always overrules sign highlighting Commit: https://github.com/vim/vim/commit/39f7aa3c3124065b50f182b1d2f7ac92a0918656 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 31 22:00:05 2020 +0200 patch 8.2.1556: cursorline highlighting always overrules sign highlighting Problem: Cursorline highlighting always overrules sign highlighting. Solution: Combine the highlighting, use the priority to decide how. (closes #6812)
author Bram Moolenaar <Bram@vim.org>
date Mon, 31 Aug 2020 22:15:09 +0200
parents 3a1ed539ae2a
children 8dad79c661d1
comparison
equal deleted inserted replaced
22012:c0158af27bee 22013:125051dff419
1 *sign.txt* For Vim version 8.2. Last change: 2019 Nov 30 1 *sign.txt* For Vim version 8.2. Last change: 2020 Aug 31
2 2
3 3
4 VIM REFERENCE MANUAL by Gordon Prieur 4 VIM REFERENCE MANUAL by Gordon Prieur
5 and Bram Moolenaar 5 and Bram Moolenaar
6 6
82 priority is assigned at the time of placing a sign. 82 priority is assigned at the time of placing a sign.
83 83
84 When the line on which the sign is placed is deleted, the sign is moved to the 84 When the line on which the sign is placed is deleted, the sign is moved to the
85 next line (or the last line of the buffer, if there is no next line). When 85 next line (or the last line of the buffer, if there is no next line). When
86 the delete is undone the sign does not move back. 86 the delete is undone the sign does not move back.
87
88 When a sign with line highlighting and 'cursorline' highlighting are both
89 present, if the priority is 100 or more then the sign highlighting takes
90 precedence, otherwise the 'cursorline' highlighting.
87 91
88 ============================================================================== 92 ==============================================================================
89 2. Commands *sign-commands* *:sig* *:sign* 93 2. Commands *sign-commands* *:sig* *:sign*
90 94
91 Here is an example that places a sign "piet", displayed with the text ">>", in 95 Here is an example that places a sign "piet", displayed with the text ">>", in