Error while trying to edit lua nvim config lsp/rpc.lua:291: Cannot serialise function: type not supported

I get the following error everytime I enter the nvim conf and it repeates for every action and movement in there, any idea why this is?

Error detected while processing CursorHold Autocommands for "<buffer=5>":
Error executing lua callback: /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:291: Cannot serialise function: type not supported
stack traceback:
	[C]: in function 'encode'
	/usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:291: in function 'encode_and_send'
	/usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:338: in function 'request'
	/usr/local/share/nvim/runtime/lua/vim/lsp/client.lua:679: in function 'request'
	/usr/local/share/nvim/runtime/lua/vim/lsp.lua:888: in function 'signature'
	.../nvim/lazy/lsp_signature.nvim/lua/lsp_signature/init.lua:909: in function 'on_UpdateSignature'
	...vim/lazy/lsp_signature.nvim/lua/lsp_signature/helper.lua:28: in function <...vim/lazy/lsp_signature.nvim/lua/lsp_signature/helper.lua:27>