From 9b1a2dd5e9cd90039feaf720ee1b6a02bfd81511 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 12 Jan 2020 09:00:11 +0800 Subject: Remove textwidth for Markdown --- autocommands.vim | 8 -------- 1 file changed, 8 deletions(-) (limited to 'autocommands.vim') diff --git a/autocommands.vim b/autocommands.vim index c400791..8ae0b1e 100644 --- a/autocommands.vim +++ b/autocommands.vim @@ -7,14 +7,6 @@ augroup dynamic_smartcase autocmd CmdLineLeave : set smartcase augroup END -" Set textwidth for text file types -augroup text_file_width - autocmd! - " Sometimes, automatic filetype detection is not right, so we need to - " detect the filetype based on the file extensions - autocmd BufNewFile,BufRead *.md,*.MD,*.markdown setlocal textwidth=79 -augroup END - augroup term_settings autocmd! " Do not use number and relative number for terminal inside nvim -- cgit v1.2.3