Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm so happy to see someone else post about this. In short, yes I've played around with it a bit and even started creating the highlight queries in order for it to work via nvim-treesitter. However, very quickly you hit on the grammar simply being incomplete. I recently made a few additions to the grammar with the hopes of wanting to complete it, but it's no small task. There are a fair amount of things that are still needed to complete it. Without those things, the syntax highlight doesn't look great and it becomes noticeable right away.
I'm so happy to see someone else post about this. In short, yes I've played around with it a bit and even started creating the highlight queries in order for it to work via nvim-treesitter. However, very quickly you hit on the grammar simply being incomplete. I recently made a few additions to the grammar with the hopes of wanting to complete it, but it's no small task. There are a fair amount of things that are still needed to complete it. Without those things, the syntax highlight doesn't look great and it becomes noticeable right away.
At this point more than plugin development is completing the tree-sitter-scala grammar. A way to test what is missing is to use the nvim-treesitter/playground. After installing the grammar via nvim-treesitter, you can then just use the playground to see the full representation of your Scala code.
There is a really great nvim-lua-guide here.
Related posts
- neorg problem, all other plugins deactivate when added to init.lua
- Introducing: continuous-testing.nvim
- Neovim config for Windows with LSP and lua
- Leaps and (no) bounds - extend leap.nvim with custom motions, callbacks, Tree-sitter, and more
- How do I do the "auto indent" thing in vim? (I already have coc.nvim installed idk if it will help)