2019-10-25 14:25:48 +02:00
|
|
|
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
|
|
|
call ftplugined#check_undo_ft()
|
2019-10-25 14:15:56 +02:00
|
|
|
|
2019-10-10 14:16:25 +02:00
|
|
|
" Let ALE know that I want Markdown linters
|
|
|
|
let b:ale_linter_aliases=[ 'markdown' ]
|
2019-12-22 20:53:12 +01:00
|
|
|
let b:undo_ftplugin.='|unlet! b:ale_linter_aliases'
|
2020-08-27 17:48:47 +02:00
|
|
|
|
|
|
|
" Use a small indentation value on Pandoc files
|
|
|
|
setlocal shiftwidth=2
|
|
|
|
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
2020-12-12 14:12:07 +01:00
|
|
|
|
|
|
|
" Use my usual text width
|
|
|
|
setlocal textwidth=80
|
|
|
|
let b:undo_ftplugin.='|setlocal textwidth<'
|