commit 479690b06b9409e9bf86e90877fbdc6036a6e68b parent 80c9ecb003934c5fa53ab2a9559c7d22678b94ff Author: Alex Balgavy <a.balgavy@gmail.com> Date: Fri, 31 Jan 2020 20:54:05 +0100 vim: change markdown wrap settings Former-commit-id: f905b77e0a121e8e6b7c8519f06efd10ab2415b9 Diffstat:
M | vim/after/ftplugin/markdown.vim | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim @@ -35,9 +35,7 @@ nnoremap <buffer> <leader><CR> :silent !open "%<.pdf"<CR>:redraw!<CR> " Settings compiler markdown -setlocal wrap -setlocal conceallevel=2 -setlocal spell +setlocal wrap textwidth=0 wrapmargin=0 linebreak conceallevel=2 spell " Undo_ftplugin if !exists('b:undo_ftplugin') @@ -46,4 +44,4 @@ endif let b:undo_ftplugin .= '| imapc <buffer>' let b:undo_ftplugin .= '| nmapc <buffer>' " let b:undo_ftplugin .= '| execute "au! markdown_autocmds * <buffer>"' -let b:undo_ftplugin .= '| setlocal makeprg< conceallevel< wrap< spell<' +let b:undo_ftplugin .= '| setlocal makeprg< wrap< textwidth< wrapmargin< linebreak< conceallevel< spell<'