]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1240: Regression with ic/ac text objects and comment plugin v9.1.1240
authorMaxim Kim <habamax@gmail.com>
Wed, 26 Mar 2025 18:04:20 +0000 (19:04 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 26 Mar 2025 18:05:35 +0000 (19:05 +0100)
commit08283b28afae1a75ddec1fad1b6dd1cb267aab12
treeffbdd67621f2c85b945c740f78e03d71b448cb93
parentf9f4e27ad76ee36a5a49013a84a466800d26f360
patch 9.1.1240: Regression with ic/ac text objects and comment plugin

Problem:  Regression with ic/ac text objects and comment plugin
Solution: Fix regression, update tests (Maxim Kim)

fix regression: sometimes ic/ac should be line-wise

```
int main() {
    // multilple comments
    // cursor is between them
}

 # dac ->

int main() {
}
```

closes: #16947
closes: #16980

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