windows 10/ gvim 1-1802.
I use Javascript and there are sometimes blocks of HTML code that need to be inside a particular region that can be indicated by """, for example .
I have a similar situation with Python files. I need to enable syntax highlighting for some block of text containing code from another programming language.
I am searching for how to to enable a new syntax file from inside of a file that already uses a syntax file.
:help sh-awk-embedor something along those lines is a good start – D. Ben Knoble May 12 '18 at 17:40