Merge pull request #14607 from glacambre/fix_get_all_options_info_crash

[RDY] Generate PARAM_COUNT macro
This commit is contained in:
James McCoy
2021-05-26 10:30:20 -04:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -1986,6 +1986,10 @@ describe('API', function()
eq(meths.get_option_info'winhighlight', options_info.winhighlight)
end)
it('should not crash when echoed', function()
meths.exec("echo nvim_get_all_options_info()", true)
end)
end)
describe('nvim_get_option_info', function()