[Resolved] Force syntax of current buffer?


#1

I work on PHP codebases a lot, and some of them use twig templates. Kakoune does not yet have a syntax highlighter for twig, but it does have highlighting for html. I’d like to provisionally use the html highlighting for this filetype until someone has time and ability to implement twig highlighting. Is there a command like :set syntax=html from vim? I’ve searched the docs for set-option and haven’t found a thing yet.


#2

Yeah, you can use set buffer filetype html