今日、とある場所でkanaさんからvimに"syn-include"なんて物があるのを教えて貰いました。 :he syn-include 9. Including syntax files *:syn-include* *E397* It is often useful for one language's syntax file to include a syntax file for a related language. Depending on the exact relationship, this can be done in two different ways: - If top-level syntax items in the included syntax file are to be allowed at
![Big Sky :: vimで、はてなスーパーPre記法に言語毎のシンタックスを適用する](https://cdn-ak-scissors.b.st-hatena.com/image/square/ae5f360d3c82cd87e23b34fb6f5013ab7cf0f1a6/height=288;version=1;width=512/https%3A%2F%2Fmattn.kaoriya.net%2Fimages%2Flogo.png)