You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
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?
Reacted by Frestein ☁️, jrasband, Kristoffer Balintona, Rhea Myers, Jacob Moena, Ayako, Ioannis Eleftheriou, khelmr, Luis Eduardo Bueso de Barrio, Carson Henrich and 19 more
I've never used Elixir. Kotlin probably requires the least effort, possibly none. Zig and Odin from memory both also just have C-like comments. Assembly uses ; to introduce comments, at least the common ones.
Reacted by David Pavlík, Vincent Gerlach, fmorroni, Jon Young and Exiquio Cooper-Anderson
Reacted by Ŧl๏гเภ, John Hamelink and Exiquio Cooper-Anderson
mail support isn't great right now. Since it uses the PlainEnglish parser, it also applies rules to the headers and metadata of the file which isn't ideal. I'm working on a tree-sitter parser for the mail format atm, I'm wondering if it would be possible to only apply harper's rules to contents of the (body) node, or something like that?
Re: a discussion in the discord, we could look into supporting Quatro and RMarkdown. They're both extensions of markdown. RMarkdown has a very solid tree-sitter parser available. Quatro has one too but I haven't been able to verify if it still works. Using these parser and the Masker we should be able to support them. For the time being, they could be treated the same as regular Markdown files; after a brief test, this generally works fine at the cost of some false positives on certain syntax elements.
Reacted by AaronVerDow, DeimElias, Byron Yépez V., pagyeman and hectorgray
I've never used Elixir. Kotlin probably requires the least effort, possibly none. Zig and Odin from memory both also just have C-like comments. Assembly uses ; to introduce comments, at least the common ones.
I've never used Elixir. Kotlin probably requires the least effort, possibly none. Zig and Odin from memory both also just have C-like comments. Assembly uses ; to introduce comments, at least the common ones.
I'm a bit surprised this hasn't been brought up yet, but if there could somehow be SQL support (or at least some of its dialects like T-SQL or Postgres), it would be wonderful!
Activity
elijah-potter commentedon Aug 9, 2024
Alright. At the time of writing, we've got JavaDoc, HTML, and Bash supported, as well as
gitcommitbuffers.mostafaqanbaryan commentedon Aug 11, 2024
If you could add
phpto the list as well, it would be greatVinzent03 commentedon Sep 3, 2024
Adding
dartwould be great as well.kai-tub commentedon 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?
fix(extension): added supported languages
elijah-potter commentedon Jan 3, 2025
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
cmakesupport. 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.
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.
That's great to hear! I aim to please.
We might be a little past that.
krupan commentedon Feb 5, 2025
Emacs org-mode support would be rad
hippietrail commentedon Feb 6, 2025
I just had a peep at the supported languages and here are some I note to be missing:
I've never used Elixir. Kotlin probably requires the least effort, possibly none. Zig and Odin from memory both also just have C-like comments. Assembly uses
;to introduce comments, at least the common ones.jkprcl commentedon Feb 6, 2025
Glad to see PowerShell is on the running list!
ficd0 commentedon Feb 20, 2025
mailsupport isn't great right now. Since it uses the PlainEnglish parser, it also applies rules to the headers and metadata of the file which isn't ideal. I'm working on a tree-sitter parser for the mail format atm, I'm wondering if it would be possible to only apply harper's rules to contents of the(body)node, or something like that?elijah-potter commentedon Feb 20, 2025
Yeah! Using the masker in
harper-tree-sitteryou can select by node label.ficd0 commentedon Feb 20, 2025
sounds great. I will give that a shot when I'm able.
funnes commentedon Feb 22, 2025
It would be nice to have support for jujutsu commits just like
git-commit.update: implemented in #2082
ficd0 commentedon Feb 22, 2025
Re: a discussion in the discord, we could look into supporting Quatro and RMarkdown. They're both extensions of markdown. RMarkdown has a very solid tree-sitter parser available. Quatro has one too but I haven't been able to verify if it still works. Using these parser and the Masker we should be able to support them. For the time being, they could be treated the same as regular Markdown files; after a brief test, this generally works fine at the cost of some false positives on certain syntax elements.
64 remaining items
.rst) #2703Manuallly-Installed commentedon May 22, 2026
I would love it if suport for PureBasic was added.
jtdowney commentedon Jul 2, 2026
Commenting to add that it would be great to see Gleam support, tree sitter is at https://github.com/gleam-lang/tree-sitter-gleam
exiquio commentedon Jul 14, 2026
Elixir would be nice to have.
hippietrail commentedon Jul 14, 2026
There's actually an official Tree-sitter grammar for it too: https://github.com/elixir-lang/tree-sitter-elixir
radioactive-exe commentedon Sep 9, 2026
I'm a bit surprised this hasn't been brought up yet, but if there could somehow be SQL support (or at least some of its dialects like T-SQL or Postgres), it would be wonderful!
dccabanas commentedon Sep 18, 2026
Hey, all. It would be cool to have support for Julia :D
grantlemons commentedon Sep 18, 2026
Tree sitter parser: https://github.com/tree-sitter/tree-sitter-julia
suchverynice commentedon Sep 26, 2026
Hihi, please consider adding support for Sass/SCSS. Much appreciated