aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-12-01 19:40:46 +0800
committerAaron LI <aly@aaronly.me>2018-12-01 19:40:46 +0800
commitd77463069457d3984fc69ade9004275bba8210f3 (patch)
tree200f12226554ddb2d146ee99a7b8944f7f56194c
parent6738af22672768b33fe94f4b85567b80da273a38 (diff)
downloaddotfiles-d77463069457d3984fc69ade9004275bba8210f3.tar.bz2
vim: Tweak textwidth setting
-rw-r--r--_vim/ftplugin/tex.vim1
-rw-r--r--_vim/vimrc1
2 files changed, 1 insertions, 1 deletions
diff --git a/_vim/ftplugin/tex.vim b/_vim/ftplugin/tex.vim
index efdf2d2..26ba77c 100644
--- a/_vim/ftplugin/tex.vim
+++ b/_vim/ftplugin/tex.vim
@@ -2,6 +2,7 @@
" ~/.vim/ftplugin/tex.vim
"
+setlocal textwidth=75
setlocal shiftwidth=2
setlocal expandtab
setlocal spell
diff --git a/_vim/vimrc b/_vim/vimrc
index 92cbb96..bc4340b 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -145,7 +145,6 @@ set smartindent
set wrap
set linebreak
-set textwidth=75
set formatoptions+=m " Break at multi-byte characters (e.g., CJK)