gleam-lang / tree-sitter-gleam

🌳 A tree-sitter grammar for the Gleam programming language
Apache License 2.0
71 stars 13 forks source link

Plans to integrate with Neovim? #1

Closed connorlay closed 2 years ago

connorlay commented 2 years ago

Hello! I'm curious if there are any plans to integrate this grammar with Neovim via nvim-treesitter. If not, I'm happy to help out with this 😄 Thanks!

J3RN commented 2 years ago

Hello @connorlay! Thanks for reaching out about this! While I don't have any plans surrounding neovim at the moment, I'd be delighted if you undertook the work to integrate tree-sitter-gleam into nvim-treesitter! I'm happy to answer questions that arise about the grammar either here in or in another issue as appropriate :smile:

connorlay commented 2 years ago

I started work on this today, you can follow my progress in this draft PR: https://github.com/nvim-treesitter/nvim-treesitter/pull/2462 😄

wesleimp commented 2 years ago

@connorlay Any updates for this issue? I've installed gleam support by running TSInstall gleam but it's not working

connorlay commented 2 years ago

@wesleimp You may need to add a filetype detection line, here is what I am using:

au BufRead,BufNewFile *.gleam set filetype=gleam
connorlay commented 2 years ago

Now that https://github.com/nvim-treesitter/nvim-treesitter/pull/2462 is merged, I think we can close this issue 😄