home: vim: ftplugin: add bp
This commit is contained in:
parent
3e6b9f7161
commit
95c688766f
7
modules/home/vim/after/ftplugin/bp.vim
Normal file
7
modules/home/vim/after/ftplugin/bp.vim
Normal 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<'
|
Loading…
Reference in a new issue