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

AsciiDoc LanguageTool #3220

Closed
WojciechRydel opened this issue Jun 27, 2020 · 4 comments · Fixed by #3229
Closed

AsciiDoc LanguageTool #3220

WojciechRydel opened this issue Jun 27, 2020 · 4 comments · Fixed by #3229

Comments

@WojciechRydel
Copy link

Hi!
I would like to suggest to add LanguageTool linter for AsciiDoc files. The linter is enabled by default for Markdown files, and having it enabled for AsciiDoc as well, will be really nice!

@hsanson
Copy link
Contributor

hsanson commented Jul 8, 2020

Though I wish there were linters or language servers for Asciidoc, unfortunately there are none as far as I know. I do know some talks about these have been around for years but still far from materializing:

I such tool becomes available this issue can be reopen and I will most likely add it to ALE since I use Asciidoc daily at work and to keep my personal notes.

@hsanson hsanson closed this as completed Jul 8, 2020
@WojciechRydel
Copy link
Author

Hi @hsanson ,
I think that I have not made myself clear . What I would like to be added in ALE for AsciiDoc is LanguageTool support, the same way it is available for Markdown - #2155. Correct me if I am wrong, but I think that the enhancement does not require any language server for AsciiDoc itself.

@hsanson
Copy link
Contributor

hsanson commented Jul 9, 2020

@WojciechRydel you are correct, I totally misunderstood the issue. I created a PR that enables LanguageTool for asciidoc documents. Was easy to do since the code is already generic and used for both mail and markdown documents.

Note I do not use this tool so I have not tested this and would appreciate if you can test it to ensure it is working properly.

@jimisola
Copy link

LSP created for MarkDown: https://code.visualstudio.com/blogs/2022/08/16/markdown-language-server

Guessing that there are some similarities.

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

Successfully merging a pull request may close this issue.

3 participants