]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(indent): allow matching negative numbers for gnu indent config file
authorJohn M Devin <john.m.devin@gmail.com>
Sun, 29 Sep 2024 09:18:42 +0000 (11:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 29 Sep 2024 09:18:42 +0000 (11:18 +0200)
commitee20fc8062b43eb8e52014978ed8f200158a7efd
treeaaffe27f226b7d8f614d25ad50621c2414d6734d
parent9142136161560a22390de3716044cb21aa57262e
runtime(indent): allow matching negative numbers for gnu indent config file

Some gnu indent options take negative numbers (e.g. --indent-label).
Add matching for an optional single '-' before the number.

closes: #15754

Signed-off-by: John M Devin <john.m.devin@gmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/indent.vim