]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0538: not possible to assign priority when defining a sign v9.1.0538
authorLemonBoy <thatlemon@gmail.com>
Sat, 6 Jul 2024 16:04:09 +0000 (18:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 6 Jul 2024 16:04:09 +0000 (18:04 +0200)
commitb975ddfdf96644b8df808415dee36f99abd48753
tree01d6727b5db83738625d18007786b13c2522baaa
parent25ac6d67d92e0adda53b8d44b81c15031643ca1e
patch 9.1.0538: not possible to assign priority when defining a sign

Problem:  not possible to assign priority when defining a sign
          (Mathias Fußenegger)
Solution: Add the priority argument for the :sign-define ex command and
          the sign_define() function (LemonBoy)

Use the specified value instead of the default one (SIGN_DEF_PRIO) when
no priority is explicitly specified in sign_place or :sign place.

fixes: #8334
closes: #15124

Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/sign.txt
runtime/doc/version9.txt
src/popupwin.c
src/proto/sign.pro
src/sign.c
src/testdir/dumps/Test_wildmenu_pum_11.dump
src/testdir/dumps/Test_wildmenu_pum_12.dump
src/testdir/dumps/Test_wildmenu_pum_13.dump
src/testdir/test_signs.vim
src/version.c