How can I create a syntax definition (highlighting) that builds on another?

Found this question over at Reddit:

https://www.reddit.com/r/kakoune/comments/9kgha2/how_can_i_create_a_syntax_definition_highlighting/


Would the right way to do this be to create a new like filetype via BufCreate and then have it source the original.

it would return the errors because of duplicate highlighters.

I anwsered on reddit, not 100% sure if my solution is correct but seems to be working.