aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/json_functions_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-03-02 13:35:01 +0100
committerMarco Hinz <mh.codebro@gmail.com>2016-03-02 15:06:37 +0100
commit53aa569918f7dff13600fbba12f5bf0e0816b761 (patch)
treed34b5949e4c0cd130aea98c33ccc1bcf91a816a2 /test/functional/eval/json_functions_spec.lua
parent5ef3e40b373650a374ea8fe295eb0690e5b9ae6a (diff)
downloadrneovim-53aa569918f7dff13600fbba12f5bf0e0816b761.tar.gz
rneovim-53aa569918f7dff13600fbba12f5bf0e0816b761.tar.bz2
rneovim-53aa569918f7dff13600fbba12f5bf0e0816b761.zip
Proper type checking for set{qf,loc}list()
Prior to this change, type errors were silently ignored. They're explicit now. setqflist(list, action, title) setloclist(win, list, action, title) "list" (required) must be a list. "action" (optional) must a string. "title" (optional) must a string or number that gets converted to a string. An error is thrown otherwise.
Diffstat (limited to 'test/functional/eval/json_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions