mirror of
https://github.com/neovim/neovim.git
synced 2026-01-18 11:09:11 +10:00
Problem: 'cscopequickfix' option does not accept new value "a".
Solution: Adjust list of command characters. (Ken Takata)
6d20e17544
All changes applied manually. Definition of `CSQF_CMDS` was moved to
`option_defs.h` in nvim.
16 lines
430 B
VimL
16 lines
430 B
VimL
" Test for cscope commands.
|
|
|
|
if !has('cscope')
|
|
finish
|
|
endif
|
|
|
|
func Test_cscopequickfix()
|
|
set cscopequickfix=s-,g-,d+,c-,t+,e-,f0,i-,a-
|
|
call assert_equal('s-,g-,d+,c-,t+,e-,f0,i-,a-', &cscopequickfix)
|
|
|
|
call assert_fails('set cscopequickfix=x-', 'E474:')
|
|
call assert_fails('set cscopequickfix=s', 'E474:')
|
|
call assert_fails('set cscopequickfix=s7', 'E474:')
|
|
call assert_fails('set cscopequickfix=s-a', 'E474:')
|
|
endfunc
|