Fix filetype for md files

This commit is contained in:
2023-06-18 12:27:58 +02:00
parent 1b6bf482a7
commit 2f24adc145

View File

@@ -1,6 +1,7 @@
" Settings for markdown " Settings for markdown
set grepprg=grep\ -nH\ $* set grepprg=grep\ -nH\ $*
let g:pencil#textwidth=80 let g:pencil#textwidth=80
let g:pencil#conceallevel=0
autocmd BufRead *.md set spell autocmd BufRead *.md set spell
autocmd FileType tex call pencil#init({'wrap': 'hard', 'autoformat': 1}) autocmd FileType md call pencil#init({'wrap': 'hard', 'autoformat': 1})