1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00
ultimate-vim/sources_non_forked/vim-scala/ftplugin/scala.xpt.vim

30 lines
463 B
VimL
Raw Normal View History

2017-08-25 20:35:23 -04:00
XPTemplate priority=lang
XPTvar $BRif ' '
XPTvar $BRel \n
XPTvar $BRloop ' '
XPTvar $BRfun ' '
XPTinclude
\ _common/personal
\ java/java
XPT cake hint=Cake\ Pattern
XSET trait|def=Some
XSET derived|def=Real
trait `trait^Component {
trait `trait^ {
`body^
}
val `trait^SV('(.)', '\l\1', '')^^: `trait^
}
trait `derived^`trait^Component extends `trait^Component {
override lazy val `trait^SV('(.)', '\l\1', '')^^ = new `trait^ {
`body2^
}
}