From 565931dff957545bf1b8a9ea57cfc097ed1a7e83 Mon Sep 17 00:00:00 2001 From: adrian5 Date: Sat, 12 Oct 2019 22:03:24 +0200 Subject: [PATCH] Doc: update file-type association instructions for Atom --- .../blog/2019-04-15-setting-up-your-editor.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/site/content/blog/2019-04-15-setting-up-your-editor.md b/site/content/blog/2019-04-15-setting-up-your-editor.md index 784ca8703c..1db85a7974 100644 --- a/site/content/blog/2019-04-15-setting-up-your-editor.md +++ b/site/content/blog/2019-04-15-setting-up-your-editor.md @@ -14,20 +14,16 @@ draft: true ## 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: +To treat `*.svelte` files as HTML, open Edit → Config... and add the following lines to your `core` section: ```cson "*": core: … - "file-types": - "*.svelte": "text.html.basic" + customFileTypes: + "text.html.basic": [ + "svelte" + ] ``` ## Vim/Neovim