Skip to content

Commit

Permalink
Update editor recommendations of old blog post (#5434)
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Sep 22, 2020
1 parent e867a4d commit 4c135b0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions site/content/blog/2019-04-15-setting-up-your-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ To treat `*.svelte` files as HTML, open *__Edit → Config...__* and add the fol

## Vim/Neovim

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

As an alternative you can treat all `*.svelte` files as HTML. Add the following line to your `init.vim`:

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

## Visual Studio Code

To treat `*.svelte` files as HTML, add the following lines to your `settings.json` file:

```cson
"files.associations": {
"*.svelte": "html"
}
```
We recommend using the official [Svelte for VS Code extension](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).

## JetBrains WebStorm

Expand Down

0 comments on commit 4c135b0

Please sign in to comment.