Doc: add file-type association instructions for Atom

pull/3691/head
adrian5 5 years ago committed by Conduitry
parent d3e815c209
commit dcfe9f6b78

@ -10,7 +10,25 @@ draft: true
* eslint-plugin-svelte3
* svelte-vscode
* associating .svelte files with HTML in VSCode, Sublime, Atom, etc etc etc
* associating .svelte files with HTML in VSCode, Sublime, etc.
## Atom
To treat `.svelte` files as HTML, install the *file-types* package which enables such custom mappings:
```bash
apm install file-types
```
From the toolbar, open Edit → Config... and add the following two lines to your root (`"*"`) section:
```cson
"*":
core:
"file-types":
"*.svelte": "text.html.basic"
```
## Vim/Neovim

Loading…
Cancel
Save