lukas-reineke / indent-blankline.nvim

Indent guides for Neovim
MIT License
4.07k stars 102 forks source link

Added language: risor #800

Closed applejag closed 8 months ago

applejag commented 8 months ago

Adds language risor: https://risor.io/

I'm currently creating a tree-sitter grammar for it: https://github.com/applejag/tree-sitter-risor

Took me a while of debugging why the scope feature didn't work out-of-the box. I thought for so long that my grammar was wrong 😅 never considered that it was ibl

I was not able to add the language just from configs though. Would've been nice if that was possible. But currently ibl just skips if it does not contian the language in its hardcoded list:

https://github.com/lukas-reineke/indent-blankline.nvim/blob/d4c718467d35bc93714425a7102d82e7e5065280/lua/ibl/scope.lua#L60-L63

applejag commented 8 months ago

And in case they do, I want to encourage them to make a PR, like you are now.

Ohohoh you sneaky fella. It sure worked!