-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use completionItem/resolve to fetch docs
- this makes completion faster because we defer fetching docs - we binary_to_term/encode the relevant data to put in the data which then gets sent back up on the resolve request - also includes signature in docs - makes cursor finding faster by skipping subtrees that don't contain the cursor position code is still WIP, which is why its ugly on average of typing around in the next_ls.ex file, completions seem to be around 45-55ms. still not as fast as I'd like them, but still decent-ish
- Loading branch information
Showing
4 changed files
with
188 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.