]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(vim): Update ftplugin - comment motions (#13412)
authordkearns <dougkearns@gmail.com>
Mon, 23 Oct 2023 16:16:44 +0000 (03:16 +1100)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 16:16:44 +0000 (18:16 +0200)
commitfea96c00e55a71e3007907ff4f7ad513bb9ff0eb
treef01cf1259522f0a8ed0b46358ef36a97e67a4f04
parent0ab500dede4edd8d5aee7ddc63444537be527871
runtime(vim): Update ftplugin - comment motions (#13412)

Fix the pattern used by comment-motion mappings to match the start of a
block comment.

Block-comment start lines were being ignored if the previous line
contained a double-quote character anywhere in the line.  Line comments
should only be ignored if the previous line is a full-line comment and,
therefore, part of the current block comment.

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/vim.vim