From 269496db7e36c1f86280cf19f860dbfee7f74c30 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 2 May 2020 12:48:11 +0100 Subject: [PATCH] remove global textwidth setting will now be set in individual ftplugin files. --- ftplugin/markdown.vim | 2 ++ init.vim | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index e0810bd..4ae6d5c 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -1,3 +1,5 @@ +set textwidth=80 + " markdown : jump to next heading " https://gist.github.com/romainl/ac63e108c3d11084be62b3c04156c263 function! s:JumpToNextHeading(direction, count) diff --git a/init.vim b/init.vim index 64c17d5..3df16ce 100644 --- a/init.vim +++ b/init.vim @@ -250,7 +250,6 @@ set shiftround set noexpandtab set autoindent -set textwidth=120 set formatoptions=cq set wrapmargin=0