zed-industries / extensions

Extensions for the Zed editor
553 stars 221 forks source link

Nim #148

Open aiakared opened 1 year ago

aiakared commented 1 year ago

Check for existing issues

Language

Nim

Tree Sitter parser link

No response

Language server link

https://github.com/PMunch/nimlsp

Misc notes

No response

teroz commented 11 months ago

What needs to be done to get this over the line and how can I help?

AngelEzquerra commented 5 months ago

FYI, you can find a tree-sitter parser for the nim language here:

https://github.com/alaviss/tree-sitter-nim

I believe that the direct link to the tree sitter nim language definition file is the following:

https://github.com/alaviss/tree-sitter-nim/blob/main/queries/highlights.scm

AritraBanik08 commented 4 months ago

I think it would be better to use this https://github.com/nim-lang/langserver instead of the above mentioned nimlsp for Nim. Thank You.

alaviss commented 4 months ago

I believe that the direct link to the tree sitter nim language definition file is the following:

https://github.com/alaviss/tree-sitter-nim/blob/main/queries/highlights.scm

I'd recommend using the ones in nvim-treesitter, as those are a lot more polished and featureful: https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/nim