commit c54827391f444ea4f11e8fba8b63380cd635461e
parent 3e65e9252f507b1ec5f495df5542117d8f59b656
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 4 May 2020 23:16:40 +0200
vim: latex-specific settings
Former-commit-id: 3f66d9f8fc45b9c06470d51dd921ffc8f7ee6f9c
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/after/ftplugin/tex.vim b/vim/after/ftplugin/tex.vim
@@ -6,9 +6,10 @@ inoremap <buffer> , ,<c-g>u
inoremap <buffer> : :<c-g>u
inoremap <buffer> ; ;<c-g>u
inoremap <buffer> - -<c-g>u
-
+setlocal formatoptions-=cat wrap
if !exists('b:undo_ftplugin')
let b:undo_ftplugin = ''
end
let b:undo_ftplugin .= '|nmapc <buffer>'
let b:undo_ftplugin .= '|imapc <buffer>'
+let b:undo_ftplugin .= '|setlocal formatoptions< wrap<'