docs: Add command configuration for ty in neovim#2762
docs: Add command configuration for ty in neovim#2762joelostblom wants to merge 3 commits intoastral-sh:mainfrom
Conversation
|
Hmmm this shouldn't be necessary if you're using |
|
Yes, but the docs only mention to use Instead of adding a lspconfig recommendation also for 0.11+, I think it would be helpful to show the required lsp command for those who don't want to use neovim's native lsp capabilities without installing a separate plugin. |
dhruvmanila
left a comment
There was a problem hiding this comment.
Yeah, I think you're correct if you don't have nvim-lspconfig.
|
I'm not sure we should be optimizing the docs for the case where I say this because some of the configs can be rather complicated. I don't know if ty's will ever get to that level, but if it does, I'd rather just point folks toward |
That seems reasonable, I'll close this out. |
|
That makes sense! Maybe it's still possible to clarify the text a bit to highlight that nvim-lspconfig is recommended also for Neovim >=0.11? I made a suggestion in #2785 as a continuation of this PR |
…in all version of Neovim (#2785) ## Summary Continuation of #2762. This PR clarifies that nvim-lspconfig is recommended for any version of Neovim and lists the configuration for Neovim >=0.11 first since nvim-lspconfig support for Neovim <0.11 is being deprecated. --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com> Co-authored-by: Andrew Gallant <jamslam@gmail.com> Co-authored-by: Andrew Gallant <andrew@astral.sh>
Summary
For me,
tydoes not work in neovim unless I specify to run theservercommand in the config. Adding it to the docs might be helpful for first time users.