Skip to content

Commit 4c135b0

Browse files
authored
Update editor recommendations of old blog post (#5434)
1 parent e867a4d commit 4c135b0

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

site/content/blog/2019-04-15-setting-up-your-editor.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ To treat `*.svelte` files as HTML, open *__Edit → Config...__* and add the fol
3030

3131
## Vim/Neovim
3232

33-
To treat all `*.svelte` files as HTML, add the following line to your `init.vim`:
33+
You can use the [coc-svelte extension](https://github.com/coc-extensions/coc-svelte) which utilises the official language-server.
34+
35+
As an alternative you can treat all `*.svelte` files as HTML. Add the following line to your `init.vim`:
3436

3537
```
3638
au! BufNewFile,BufRead *.svelte set ft=html
@@ -50,13 +52,7 @@ To set the filetype for a single file, use a [modeline](https://vim.fandom.com/w
5052

5153
## Visual Studio Code
5254

53-
To treat `*.svelte` files as HTML, add the following lines to your `settings.json` file:
54-
55-
```cson
56-
"files.associations": {
57-
"*.svelte": "html"
58-
}
59-
```
55+
We recommend using the official [Svelte for VS Code extension](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
6056

6157
## JetBrains WebStorm
6258

0 commit comments

Comments
 (0)