diff options
author | Andy Lindeman <andy@lindeman.io> | 2020-05-15 21:34:28 -0400 |
---|---|---|
committer | Andy Lindeman <andy@lindeman.io> | 2020-05-15 21:34:28 -0400 |
commit | 986bed23294d000565ceb04274a6c645b7c987c9 (patch) | |
tree | 42a4e3859cd63da176993247978fea042142d878 /runtime/lua/vim/shared.lua | |
parent | f559e5249e3aa155687b335272da8f0c73255ee4 (diff) | |
download | rneovim-986bed23294d000565ceb04274a6c645b7c987c9.tar.gz rneovim-986bed23294d000565ceb04274a6c645b7c987c9.tar.bz2 rneovim-986bed23294d000565ceb04274a6c645b7c987c9.zip |
Check for nil before checking for empty table
At least the `gopls` language server seems to return nil/null if no code
actions are available. Currently this results in an error:
> Error executing vim.schedule lua callback: shared.lua:199: Expected table, got nil
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions