From 8346451295ffa7904131fa807564bafb67f09dab Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 30 Dec 2024 06:12:12 +0000 Subject: Adds spelling and linebreak to markdown files --- vim/vimrc-sept24 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/vimrc-sept24 b/vim/vimrc-sept24 index 02a1170..4557942 100644 --- a/vim/vimrc-sept24 +++ b/vim/vimrc-sept24 @@ -61,6 +61,10 @@ set pastetoggle= autocmd FileType htmldjango,html setlocal cuc cul hi ColumnColor ctermbg=red term=none +" set linewrap on in markdown files +autocmd FileType markdown setlocal linebreak +autocmd FileType markdown setlocal spell spelllang=en + " In pursuit of the single text file idea, which uses TODO, IDEA, FLAG " as tags at the start of lines, this function is a vim-native replacement " for fzf BLines, which does get a bit fuzzy sometimes. Not a biggie. -- cgit v1.2.3