From 8035c9f6f0724bdcaa0158631680ee99193519b7 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Wed, 14 Jul 2021 16:54:02 -0500 Subject: [PATCH] Don't Goyo markdown by default --- nvim/markdown.vimrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nvim/markdown.vimrc b/nvim/markdown.vimrc index 0297d3c..b47d83a 100644 --- a/nvim/markdown.vimrc +++ b/nvim/markdown.vimrc @@ -10,9 +10,5 @@ let g:vim_markdown_follow_anchor = 1 let g:goyo_linenr = 1 augroup CustomMarkdown - autocmd BufNewFile,BufRead *.md set filetype=markdown - autocmd BufNewFile,BufRead *.md Goyo - autocmd BufNewFile,BufRead *.md setlocal linebreak - autocmd BufNewFile,BufRead *.md setlocal nocursorline - autocmd BufNewFile,BufRead *.md setlocal nocursorcolumn + autocmd FileType markdown setlocal linebreak augroup END