home: vim: ftplugin: add bp

This commit is contained in:
Bruno BELANYI 2024-04-12 10:01:17 +00:00
parent 3e6b9f7161
commit 95c688766f
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
" Create the `b:undo_ftplugin` variable if it doesn't exist
call ftplugined#check_undo_ft()
" Add comment format
setlocal comments=b://,s1:/*,mb:*,ex:*/
setlocal commentstring=//\ %s
let b:undo_ftplugin.='|setlocal comments< commentstring<'