diff options
author | James McCoy <jamessan@jamessan.com> | 2021-12-05 22:11:08 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-12-08 21:47:58 -0500 |
commit | 5fda23c307404a9d7d0e4d7b592df503ed1cb110 (patch) | |
tree | 5d1fa5e0bc534ad5ac57c6699b68b90d0340ace0 /src/nvim/testdir | |
parent | 4453d4c9f1e2cb93bf42e24a622ff00134d7229f (diff) | |
download | rneovim-5fda23c307404a9d7d0e4d7b592df503ed1cb110.tar.gz rneovim-5fda23c307404a9d7d0e4d7b592df503ed1cb110.tar.bz2 rneovim-5fda23c307404a9d7d0e4d7b592df503ed1cb110.zip |
vim-patch:8.2.3748: giving an error for an empty sign argument breaks a plugin
Problem: Giving an error for an empty sign argument breaks a plugin.
Solution: Do not give an error.
https://github.com/vim/vim/commit/e5710a02cb78c2a0a868ea55740835c78ddecbb4
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_signs.vim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/testdir/test_signs.vim b/src/nvim/testdir/test_signs.vim index c570d2c37e..799e6cb57b 100644 --- a/src/nvim/testdir/test_signs.vim +++ b/src/nvim/testdir/test_signs.vim @@ -126,11 +126,6 @@ func Test_sign() " call assert_fails("sign define Sign4 text= linehl=Comment", 'E239:') call assert_fails("sign define Sign4 text=\\ ab linehl=Comment", 'E239:') - " an empty highlight argument for a new sign is an error - call assert_fails("sign define SignX linehl=", 'E1249: Group name missing for linehl') - call assert_fails("sign define SignX culhl=", 'E1249: Group name missing for culhl') - call assert_fails("sign define SignX texthl=", 'E1249: Group name missing for texthl') - " an empty highlight argument for an existing sign clears it sign define SignY texthl=TextHl culhl=CulHl linehl=LineHl let sl = sign_getdefined('SignY')[0] |