Which Syntax Highligting to use in vim for structurizr's DSL

Viewed 174

Structurizr, a tool that is recommended to design a c4model, comes with its own DSL. It looks a bit like this:

workspace {

    model {
        user = person "User"
        softwareSystem = softwareSystem "Software System"

        user -> softwareSystem "Uses"
    }

    views {
        systemContext softwareSystem {
            include *
            autolayout
        }

        theme default
    }
    
}

and the file extension is .dsl. Does anyone know which filetype you have to set in vim in order to get some syntax highlighting? It probably won't be a perfect match but maybe better than nothing. I'm asking, because if you put a file like this to github or gitlab you do get some syntax highlighting, but vim guesses the filetype as dsl and the highlighting does not show at all.

1 Answers
Related