nix-config/modules/home/vim/after/ftplugin/bp.vim

8 lines
242 B
VimL
Raw Normal View History

2024-04-12 12:01:17 +02:00
" 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<'