Parameters to function are Neovim instance, method, args
typedef NvimHandler = void Function(Nvim, String, List<dynamic>);