improve neovim api resolver