]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(comment): fix commment toggle with mixed tabs & spaces
authorMaxim Kim <habamax@gmail.com>
Sun, 13 Oct 2024 17:20:53 +0000 (19:20 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 13 Oct 2024 17:20:53 +0000 (19:20 +0200)
commitf64bafd98a775de4b8a762c411ee11d6411bba7d
treef8ce7fbae359c34b71c4cea073225459d0f9de21
parenta4205471adae39c80fb7f151a4f33051fcb80001
runtime(comment): fix commment toggle with mixed tabs & spaces

- fix regression where toggling doesn't properly remove comment chars in
  files with tabs indents only.
- refactor toggling comments for mixed tabs & spaces sources

closes: #15861

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/comment/autoload/comment.vim