I know this is less scalable, so if there is a better way, I hope you guys can give me some direction.
But in general, it works well, and I think it's important to distinguish between public and private functions because we tend to care more about public functions, while private functions contain more implementation details.
Elixir always returns the function kind, both private and private functions, but their names are not the same.
https://github.com/elixir-lsp/elixir-ls/blob/master/apps/language_server/test/providers/document_symbols_test.exs#L79
I know this is less scalable, so if there is a better way, I hope you guys can give me some direction.
But in general, it works well, and I think it's important to distinguish between public and private functions because we tend to care more about public functions, while private functions contain more implementation details.