From 8d5b7e0ef3add1ad47a14f1b7766ddfbd2b2207a Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sat, 12 Oct 2019 07:33:26 -0400 Subject: [PATCH] site: tidy a few markdown code block languages --- site/content/blog/2019-04-15-setting-up-your-editor.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 8301928f33..784ca8703c 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 @@ -22,7 +22,7 @@ apm install file-types From the toolbar, open Edit → Config... and add the following two lines to your root (`"*"`) section: -```html +```cson "*": core: … @@ -34,18 +34,18 @@ From the toolbar, open Edit → Config... and add the following two lines to you To treat all `*.svelte` files as HTML, add the following line to your `init.vim`: -```bash +``` au! BufNewFile,BufRead *.svelte set ft=html ``` To temporarily turn on HTML syntax highlighting for the current buffer, use: -```bash +``` :set ft=html ``` To set the filetype for a single file, use a [modeline](https://vim.fandom.com/wiki/Modeline_magic): -```bash +``` ```