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

Tracking issue: language support requests #2282

Closed
9 of 14 tasks
clason opened this issue Jan 17, 2022 · 159 comments
Closed
9 of 14 tasks

Tracking issue: language support requests #2282

clason opened this issue Jan 17, 2022 · 159 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed tracking Issues that track long-term efforts

Comments

@clason
Copy link
Contributor

clason commented Jan 17, 2022

This is a tracking issue collecting requests for new languages to add to nvim-treesitter. If you would like to add a language to the list, comment on this issue with the following information:

  • name of the language
  • link to an existing tree-sitter parser (if available)
  • link to a repository containing queries (if available)
  • language grammar description, vim syntax plugin etc. if none of the above exist.

Note: having a language on this list does not mean a maintainer will do the work for adding it; rather this list is meant as guidance for community contributions.


Languages needing a PR

(Parsers and simple queries exist already and just need to be included in our list and tested.)

Languages needing queries

(A parser exists, but queries for highlights, indent, injections, folds, and/or locals are still missing. Some guidance for writing these can be found in CONTRIBUTING.md and the tree-sitter documentation.)

Languages needing parsers

(Not even a parser exists yet; if you are familiar with the language and tree-sitter, consider contributing one. You can also help by searching for new parsers in case someone has created by now.)

@clason clason added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed tracking Issues that track long-term efforts labels Jan 17, 2022
@clason clason pinned this issue Jan 17, 2022
@clason clason added this to To do in Language Supports via automation Jan 17, 2022
@nkrkv

This comment was marked as resolved.

@theHamsta

This comment was marked as resolved.

@nkrkv

This comment was marked as resolved.

@clason

This comment was marked as resolved.

@dapc11

This comment was marked as resolved.

@andykais

This comment was marked as resolved.

@theHamsta

This comment was marked as resolved.

@andykais

This comment was marked as resolved.

@illotum

This comment was marked as resolved.

@glapa-grossklag

This comment was marked as resolved.

@ajukraine
Copy link

ajukraine commented Apr 10, 2022

Haxe

@tobil4sk
Copy link

Haxe also has a tree-sitter implementation here:
https://github.com/vantreeseba/tree-sitter-haxe

@WillEhrendreich
Copy link

WillEhrendreich commented Apr 20, 2022

FSharp

EDIT: @baronfel 's parser is now archived, points to this one instead
Current Parser
It doesn't appear that anyone has done any queries
Language spec's

I would love to contribute, but frankly all of this is WAAAAY over my head.

@mosheavni
Copy link

mosheavni commented May 8, 2022

Jenkinsfile

In addition to groovy's syntax, there are additional keywords added by jenkins that would be common on a Jenkinsfile:
https://github.com/martinda/Jenkinsfile-vim-syntax

@nwotero
Copy link

nwotero commented May 12, 2022

VHDL

https://github.com/alemuller/tree-sitter-vhdl

@erfanara
Copy link

@psliwka

This comment was marked as resolved.

@bollian
Copy link

bollian commented May 31, 2022

OpenSCAD

My parser for this seems to be feature complete: https://github.com/bollian/tree-sitter-openscad

I'm willing to maintain support for my parser. Currently I'm looking for guidance on how to write the queries and modules for supporting highlighting, folding, and indentation.

@Akselmo

This comment was marked as resolved.

@ObserverOfTime

This comment was marked as off-topic.

@r001

This comment was marked as off-topic.

@Anrock
Copy link

Anrock commented Oct 24, 2023

@ZigTag

This comment was marked as duplicate.

@FalcoGer
Copy link

GDB

I Want to use https://github.com/LiadOz/nvim-dap-repl-highlights with c++, I set up nvim-dap to use GDB, but it has no syntax highlighting. There is basic syntax highlighting for gdb in vim, but not for tree-sitter, which is what the plugin requires. It would also help with editing ~/.gdbinit

@rtgiskard

This comment was marked as duplicate.

@folliehiyuki
Copy link
Contributor

Nftables

The scripting interface for writing Nftables firewall rules.

Existing Vim plugin: https://github.com/nfnty/vim-nftables
Reference: https://wiki.nftables.org/wiki-nftables/index.php/Quick_reference-nftables_in_10_minutes

There is no available parser yet.

@folliehiyuki
Copy link
Contributor

KCL

https://kcl-lang.io/ - constraint-based, functional configuration language.

tree-sitter parser: https://github.com/kcl-lang/tree-sitter-kcl
Neovim plugin: https://github.com/kcl-lang/kcl.nvim

@DougAnderson444
Copy link

WIT

Wasm Interface Types Interface description language.

tree-sitter-wit

@Awallace3

This comment was marked as duplicate.

@Forthoney

This comment was marked as resolved.

@KhazAkar

This comment has been minimized.

@clason

This comment has been minimized.

@fwrs
Copy link

fwrs commented Dec 24, 2023

iCalendar (.ical, .ics, .ifb, .icalendar)

RFC5545: https://datatracker.ietf.org/doc/html/rfc5545#section-3.1
Something fairly simple to just differentiate the keys and values and also "BEGIN"/"END" blocks would be really nice

@Sarrus1
Copy link
Contributor

Sarrus1 commented Dec 26, 2023

Sourcepawn

tree-sitter parser: https://github.com/nilshelmig/tree-sitter-sourcepawn
link to a repository containing queries: https://github.com/nilshelmig/tree-sitter-sourcepawn

@foxyseta
Copy link
Contributor

Idris2

tree-sitter parser: https://github.com/gwerbin/tree-sitter-idris2/tree/master
queries: not found

@foxyseta
Copy link
Contributor

Typst

Typst: Typst Docs Parser: tree-sitter-parser Grammar can be found in the readme of the parser

Don't know if there's a repository containing queries

EDIT from @theHamsta:

Upon feature comparison, the ideal parser would be uben0/tree-sitter-typst#7 (comment) instead. Queries are being worked on by @Nagefire at https://github.com/Nagefire/nvim-treesitter/tree/feat/typst. So this request should be updated.

@nvim-treesitter nvim-treesitter deleted a comment from foxyseta Dec 28, 2023
@Freed-Wu
Copy link
Contributor

https://github.com/rush-rs/tree-sitter-asm:

The nvim-treesitter plugin does not include this parser.

Is it possible to add it?

@clason
Copy link
Contributor Author

clason commented Dec 30, 2023

This list has become unmanageable, so I'm closing and locking it.

Resolution

@clason clason closed this as completed Dec 30, 2023
Language Supports automation moved this from To do to Done Dec 30, 2023
@nvim-treesitter nvim-treesitter locked as too heated and limited conversation to collaborators Dec 30, 2023
@clason clason unpinned this issue Dec 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed tracking Issues that track long-term efforts
Projects
Development

No branches or pull requests