Doc: update file-type association instructions for Atom

pull/3701/head
adrian5 5 years ago committed by Conduitry
parent d0d3b342e8
commit 565931dff9

@ -14,20 +14,16 @@ draft: true
## Atom ## Atom
To treat `.svelte` files as HTML, install the *file-types* package which enables such custom mappings: To treat `*.svelte` files as HTML, open Edit → Config... and add the following lines to your `core` section:
```bash
apm install file-types
```
From the toolbar, open Edit → Config... and add the following two lines to your root (`"*"`) section:
```cson ```cson
"*": "*":
core: core:
"file-types": customFileTypes:
"*.svelte": "text.html.basic" "text.html.basic": [
"svelte"
]
``` ```
## Vim/Neovim ## Vim/Neovim

Loading…
Cancel
Save