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

feat: more languages supported #79

Open
elijah-potter opened this issue Apr 27, 2024 · 5 comments
Open

feat: more languages supported #79

elijah-potter opened this issue Apr 27, 2024 · 5 comments
Assignees

Comments

@elijah-potter
Copy link
Collaborator

elijah-potter commented Apr 27, 2024

I'd like to expand the number of languages supported for comment checking. There are a number of additional considerations for structured comments (like JavaDoc), but some should be pretty straightforward.

Running list:

  • Bash
  • YAML
  • HTML
  • Java
  • Groovy
  • Git commit buffers (filetype gitcommit)
  • PowerShell

In addition to adding language parsers to the tree-sitter code, we would also need to open pull requests for nvim-lspconfig, mason and fix harper-ls to announce support for the capability.

Feel free to add suggestions to this list.

@elijah-potter elijah-potter self-assigned this Jul 6, 2024
@elijah-potter
Copy link
Collaborator Author

Alright. At the time of writing, we've got JavaDoc, HTML, and Bash supported, as well as gitcommit buffers.

@mostafaqanbaryan
Copy link

If you could add php to the list as well, it would be great

@Vinzent03
Copy link

Adding dart would be great as well.

@kai-tub
Copy link

kai-tub commented Sep 5, 2024

Hey, markdown support seems pretty advanced. 👍
But are there plans to also support other markup languages, such as djot, with the same level of functionality?
Or will only markdown be seen as a first-class citizen in the near future?

Either way, I am thrilled about the project and being able to use a solid spell-checker LSP 🥳 :

PS: Are you planning on adding a sponsoring option?

@elijah-potter
Copy link
Collaborator Author

Coming back to this issue after a solid period of stagnation, to give an update.

#332 has added Haskell support, #354 is adding Vimscript, and #353 is adding cmake support. These will all be considered "rough" until someone has the time to go in and touch them up (which is a good first issue to tackle, if anyone is interested).

I plan on adding PHP and potentially PowerShell later today.

But are there plans to also support other markup languages, such as djot, with the same level of functionality?

We've got an open PR for Typst support: #302. I do not personally have time in the near future to add similar levels of polish to a new language as the Markdown parser. That said, we are entirely open to PRs on the topic, and I can answer any questions you may have. I'm not sure how complex djot is, but it may be as simple as importing the right Treesitter parser.

Either way, I am thrilled about the project and being able to use a solid spell-checker LSP 🥳

That's great to hear! I aim to please.

PS: Are you planning on adding a sponsoring option?

We might be a little past that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants