aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-30 06:12:12 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-30 06:12:12 +0000
commit8346451295ffa7904131fa807564bafb67f09dab (patch)
tree3a024d21d9b4fc7017cde9a22019872cfc4f7be9
parent34e75953447324cb8e7a58d3f3521af97f8b626a (diff)
Adds spelling and linebreak to markdown files
-rw-r--r--vim/vimrc-sept244
1 files changed, 4 insertions, 0 deletions
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=<F3>
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.