]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0667: Some other options reset curswant unnecessarily when set v9.1.0667
authorzeertzjq <zeertzjq@outlook.com>
Sat, 10 Aug 2024 07:35:20 +0000 (09:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 10 Aug 2024 07:35:20 +0000 (09:35 +0200)
commitb026a293b1e9d7a30f7717e256fe5f7f1dfa20d7
tree1f22a9951945df86779b143f0eabe28978bdabb4
parent9c4b2462bb498f44044616f7309d111d12170369
patch 9.1.0667: Some other options reset curswant unnecessarily when set

Problem:  Some other options reset curswant unnecessarily when set.
          (Andrew Haust)
Solution: Don't reset curswant when setting 'comments', 'commentstring'
          or 'define' (zeertzjq)

fixes: #15462
closes: #15467

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/optiondefs.h
src/testdir/test_goto.vim
src/version.c