Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] lsp documentation #697

Open
chrisgrieser opened this issue Nov 5, 2023 · 2 comments
Open

[feature] lsp documentation #697

chrisgrieser opened this issue Nov 5, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@chrisgrieser
Copy link

Currently, the documentation on how to use ast-grep as LSP is rather sparse. I got it working in nvim, via vim.lsp.start, but commonly, LSPs have settings, initialization options, code actions (fixing stuff), etc. – even if there isn't a lot (yet), knowing that there is not much to configure would be useful.

⭐ Suggestion

  1. Add some documentation on the LSP to the docs.
  2. Add some documentation to sg lsp --help

💻 Use Cases

I create a PR to make it easier to add in the LSP in nvim: neovim/nvim-lspconfig#2880
It works basically, but having being able to potentially configure more stuff could be useful

@chrisgrieser chrisgrieser added the enhancement New feature or request label Nov 5, 2023
@HerringtonDarkholme HerringtonDarkholme added the documentation Improvements or additions to documentation label Nov 8, 2023
@HerringtonDarkholme
Copy link
Member

HerringtonDarkholme commented Nov 8, 2023

Wow! Thanks for your question and contribution to nvim-lspconfig!

LSP now is somewhat crude and does not have configurations.

Appreciate your suggestion on what configuration option can be.
I will investigate them and document them soon~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants