Fix test/signatures.vim: take into account &ruler (nvim)

This commit is contained in:
Daniel Hahler
2018-07-29 20:54:58 +02:00
parent 713e78dd39
commit e05f34646e

View File

@@ -94,7 +94,7 @@ describe 'signatures'
return msg
endfunction
let funcname = repeat('a', &columns - 30)
let funcname = repeat('a', &columns - (30 + (&ruler ? 18 : 0)))
put = 'def '.funcname.'(arg1, arg2, arg3, a, b, c):'
put = ' pass'
execute "normal o".funcname."( "