From 05f62cb7d79e53dd74528cca1871ea6ea2fa956f Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 4 Feb 2023 15:23:05 -0800 Subject: [PATCH] Fix language tag --- content/posts/how-to-configure-vim-for-writing/index.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/how-to-configure-vim-for-writing/index.org b/content/posts/how-to-configure-vim-for-writing/index.org index fa5a9bd..d8bac1b 100644 --- a/content/posts/how-to-configure-vim-for-writing/index.org +++ b/content/posts/how-to-configure-vim-for-writing/index.org @@ -34,9 +34,9 @@ Most Vim configurations are done in the user's =~/.vimrc= file, which applies to Inside this file, add the following: -#+begin_example +#+begin_src vim setlocal linebreak -#+end_example +#+end_src We want to use =setlocal= (or its shorthand =setl=) over the usual =set= because this only sets =linebreak= on the current buffer. If we have multiple files open in Vim, we want to make sure that this setting only applies to open Markdown files.