• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k-takata / vim / 366 / 14
82%
master: 84%

Build:
Build:
LAST BUILD BRANCH: use-check-commands
DEFAULT BRANCH: master
Ran 23 Jan 2020 04:23PM UTC
Files 112
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jan 2020 04:01PM UTC coverage: 2.76%. First build
BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes

push

travis-ci

k-takata
Fix problems with 'linebreak' and block visual mode

When 'linebreak' is set, some operators in block visual mode don't work
as expected.

1. Create a window with the size 20x10.
   `:10new | 20vnew`
2. Set a line.
   `:call setline(1, '1234567890 2234567890 3234567890')`
3. Set 'linebreak'.
   `:set lbr`
4. Do some blockwise operations.
   E.g. yank:
   ```
   :exec "norm! ^w\<C-V>ey"
   :call assert_equal('2234567890', @@)
   ```
   increment and decrement:
   ```
   :exec "norm! ^w\<C-V>\<C-A>w\<C-V>\<C-X>"
   :call assert_equal('1234567890 3234567890 2234567890', getline(1))
   ```
   replace:
   ```
   :exec "norm! ^w\<C-V>3lraw\<C-V>3lrb"
   :call assert_equal('1234567890 aaaa567890 bbbb567890', getline(1))
   ```

There was a mismatch of `curwin->w_p_lbr` between `do_pending_operator()`
and `block_prep()`.

3650 of 132270 relevant lines covered (2.76%)

221.2 hits per line

Source Files on job 366.14 (BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 346
  • Travis Job 366.14
  • 76d8fffa on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc