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