site: add instructions on adding file associations for VSCode.

pull/3888/head
sh.gazgireev 6 years ago
parent 1b454bad4a
commit 6235fa6bc8

@ -45,3 +45,13 @@ To set the filetype for a single file, use a [modeline](https://vim.fandom.com/w
```
<!-- vim: set ft=html :-->
```
## Visual Studio Code
To treat `*.svelte` files as HTML, add the following lines to your `settings.json` file:
```cson
"files.associations": {
"*.svelte": "html"
}
```
Loading…
Cancel
Save