comparison runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @ 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 5b7ea82bc18f
comparison
equal deleted inserted replaced
22012:c0158af27bee 22013:125051dff419
1 " Debugger plugin using gdb. 1 " Debugger plugin using gdb.
2 " 2 "
3 " Author: Bram Moolenaar 3 " Author: Bram Moolenaar
4 " Copyright: Vim license applies, see ":help license" 4 " Copyright: Vim license applies, see ":help license"
5 " Last Change: 2020 Jul 12 5 " Last Change: 2020 Aug 31
6 " 6 "
7 " WORK IN PROGRESS - Only the basics work 7 " WORK IN PROGRESS - Only the basics work
8 " Note: On MS-Windows you need a recent version of gdb. The one included with 8 " Note: On MS-Windows you need a recent version of gdb. The one included with
9 " MingW is too old (7.6.1). 9 " MingW is too old (7.6.1).
10 " I used version 7.12 from http://www.equation.com/servlet/equation.cmd?fa=gdb 10 " I used version 7.12 from http://www.equation.com/servlet/equation.cmd?fa=gdb
935 exe 'edit ' . fnameescape(fname) 935 exe 'edit ' . fnameescape(fname)
936 endif 936 endif
937 endif 937 endif
938 exe lnum 938 exe lnum
939 exe 'sign unplace ' . s:pc_id 939 exe 'sign unplace ' . s:pc_id
940 exe 'sign place ' . s:pc_id . ' line=' . lnum . ' name=debugPC file=' . fname 940 exe 'sign place ' . s:pc_id . ' line=' . lnum . ' name=debugPC priority=110 file=' . fname
941 setlocal signcolumn=yes 941 setlocal signcolumn=yes
942 endif 942 endif
943 elseif !s:stopped || fname != '' 943 elseif !s:stopped || fname != ''
944 exe 'sign unplace ' . s:pc_id 944 exe 'sign unplace ' . s:pc_id
945 endif 945 endif