derekwyatt / vim-scala

My work on integration of Scala into Vim - not a ton here, but useful for me.
http://derekwyatt.org
Apache License 2.0
1.09k stars 144 forks source link

[Hightlight] Add Chisel keyword support #158

Closed dpretet closed 2 years ago

dpretet commented 5 years ago

Hello Derek,

I am using nowadays, more specifically Chisel, a DSL for hardware design. Your plugin is very good, thanks for your work 🤓. I just miss two keywords:

Would you mind to add them for highlighting ?

ches commented 3 years ago

Hi, old question here, but:

Vim has an idiom of compound (dotted) filetypes that can often work well for dialects and DSLs, we even use it here for vim-sbt to complement vim-scala.

I think you could create a small plugin to extend syntax/scala.vim for a chisel.scala filetype much like vim-sbt does.

Personally I'm not familiar with Chisel, so I think such a mini plugin would be best supported/maintained by someone who is.