https://github.com/neovim/nvim-lspconfig/pull/2775 broke this plugin because the try_add and related functions were defined/called with the : accessor syntax which means that when overriding them as anonymous functions the self argument needs to be added. In addition to adding the self argument, I realized that some of the work done by the plugin was being done by the lspconfigtry_add function anyway, so hooking in at the add function saves a bit of code.
https://github.com/neovim/nvim-lspconfig/pull/2775 broke this plugin because the
try_add
and related functions were defined/called with the:
accessor syntax which means that when overriding them as anonymous functions theself
argument needs to be added. In addition to adding theself
argument, I realized that some of the work done by the plugin was being done by thelspconfig
try_add
function anyway, so hooking in at theadd
function saves a bit of code.