Currently symbol lookup/document outline list every single word in the document, this is not the expected behavior for the protocol, and the server might crash for big files (too many - thousands of - tokens to pass around).
I think the expected behavior of the feature is to help user navigate around function/type definitions.
This PR made it to only return function definitions ((define xxx)) and type definitions((define-type xxx)).
Currently symbol lookup/document outline list every single word in the document, this is not the expected behavior for the protocol, and the server might crash for big files (too many - thousands of - tokens to pass around).
I think the expected behavior of the feature is to help user navigate around function/type definitions. This PR made it to only return function definitions (
(define xxx)
) and type definitions((define-type xxx)
).Now it is working as expected.