I want to select (e.g. to comment/uncomment) entire functions at a time in neovim using the built-in LSP. I do this now by avoiding empty lines in functions so that I can vap
to select the entire block, but this does not scale well to larger functions where spaces improve readability. I'd like for the editor to recognize and select entire functions.
How to use neovim to do this?