This repository was archived by the owner on Mar 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Couple of minor usability things #9
Copy link
Copy link
Open
Description
Looking great! Couple things I came up with:
- When there is a bit of lag between request and response, "...stderr" appears in the status bar:
https://cl.ly/0n2s142Q102q - Couldn't get workspace symbols request working, I was running this command:
langserver#symbol#workspace#request("query"), any thoughts? - Regarding the config file - the JS/TS server will handle js, ts, jsx, and tsx extensions. In the ideal world, we could map all of these without having multiple lines (i.e. [js, ts, tsx, jsx -> entry)
- In the quick view pane viewing references and the results from workspace symbols, would it be possible to auto-change the main code view as I use my keyboard to scroll through the examples? Or would that be a breaking paradigm for Vim plugins - I don't use enough of them to know what's "common" or "expected" behavior here. I like the VSCode behavior that as you use your keyboard on a list of references, you scroll through them live. Kinda like this: https://cl.ly/3N0b2j1B3s0I
I tried the following to set up the JS/TS server:
https://cl.ly/2q1H2T2i0I3j
I think that there is some Vim command to grab the extension, and it might be failing to come up with the extension for a language it doesn't support (I haven't configured Vim for TSX yet) - I tried for "js", and it mentioned that there was no supported langserver for "javascript". When I mapped it to "javascript," on a JS file it worked! So I guess the question here is: do we want to map by extensions or by language name / Vim's ability to recognize the language from a file.
Metadata
Metadata
Assignees
Labels
No labels