File: FastWrap.vimspec

package info (click to toggle)
vim-autopairs 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 444 kB
  • sloc: makefile: 4
file content (14 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Describe Fast wrap
    Before each
        call autopairs#Variables#InitVariables()
    End
    It should work
        new | only!
        call Expect("test\<esc>0i(\<C-f>").ToMatch("(test)")
    End
    It should work with multibyte pairs
        new | only!
        " This is some top-tier cursed fucking shit
        call Expect("test\<esc>0i" .. '"""' .. "\<C-f>").ToMatch('"""test"""')
    End
End