mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
vim-patch:9.1.0667: Some other options reset curswant unnecessarily when set (#30020)
Problem: Some other options reset curswant unnecessarily when set.
(Andrew Haust)
Solution: Don't reset curswant when setting 'comments', 'commentstring'
or 'define' (zeertzjq)
fixes: vim/vim#15462
closes: vim/vim#15467
b026a293b1
This commit is contained in:
@@ -1321,7 +1321,6 @@ return {
|
||||
]=],
|
||||
full_name = 'comments',
|
||||
list = 'onecomma',
|
||||
redraw = { 'curswant' },
|
||||
scope = { 'buffer' },
|
||||
short_desc = N_('patterns that can start a comment line'),
|
||||
tags = { 'E524', 'E525' },
|
||||
@@ -1339,7 +1338,6 @@ return {
|
||||
Used for |commenting| and to add markers for folding, see |fold-marker|.
|
||||
]=],
|
||||
full_name = 'commentstring',
|
||||
redraw = { 'curswant' },
|
||||
scope = { 'buffer' },
|
||||
short_desc = N_('template for comments; used for fold marker'),
|
||||
tags = { 'E537' },
|
||||
@@ -1975,7 +1973,6 @@ return {
|
||||
<
|
||||
]=],
|
||||
full_name = 'define',
|
||||
redraw = { 'curswant' },
|
||||
scope = { 'global', 'buffer' },
|
||||
short_desc = N_('pattern to be used to find a macro definition'),
|
||||
type = 'string',
|
||||
|
Reference in New Issue
Block a user