mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
17 lines
484 B
Plaintext
17 lines
484 B
Plaintext
Execute ( SpaceVim plugin: quickfix ):
|
|
let qflist = [
|
|
\ {
|
|
\ 'abbr' : 'test-abbr',
|
|
\ 'filename' : '~/test/Foo.java',
|
|
\ 'lnum' : 1,
|
|
\ 'col' : 1,
|
|
\ 'type' : 'E',
|
|
\ 'text' : 'test-text'
|
|
\ }
|
|
\ ]
|
|
call SpaceVim#plugins#quickfix#setqflist(qflist)
|
|
call SpaceVim#plugins#quickfix#openwin()
|
|
AssertEqual bufname('%'), '__quickfix__'
|
|
AssertEqual getbufline('__quickfix__', 1)[-1], 'test-abbr |E| test-text'
|
|
call SpaceVim#plugins#quickfix#closewin()
|