2021-02-23 16:08:46 +01:00
|
|
|
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
|
|
|
call ftplugined#check_undo_ft()
|
|
|
|
|
|
|
|
" Enable spell checking on commit messages
|
|
|
|
setlocal spell
|
|
|
|
let b:undo_ftplugin.='|setlocal spell<'
|
2023-08-29 16:05:21 +02:00
|
|
|
|
|
|
|
" Change max length of a line to 72 for this buffer
|
|
|
|
setlocal colorcolumn=72
|
|
|
|
let b:undo_ftplugin.='|setlocal colorcolumn<'
|