I am a Neovim user, and I am trying out Emacs.

I recently started with doom emacs, it feels pretty good. However, one issue I am facing is that pyright works very slow. I know that it is an issue with pyright, which I faced with Neovim also.

However, I made it faster for my use-case by changing some settings. Neovim allows to have these settings in the setup function for LSP. I was trying to figure out how do I change these settings with doom emacs. Pyright docs suggest to have these settings in pyrightconfig.json.

I think this is more of a pyright issue, but feel like somebody might have already solved it.