Closed
Description
I have a modelines plugin but it currently lacks the ability to set the language of the file. In order to implement this I would need an API to allow it to be set.
As an example, a Vagrantfile is a ruby script, but Code opens it as plain text. The API should allow plugins to determine the type of file by arbitrary means and set the language appropriately.
Activity