cgdbrc.vim 580 B

1234567891011121314151617181920212223
  1. " Vim filetype plugin file
  2. " Language: cgdbrc
  3. " Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
  4. " Documentation: https://cgdb.github.io/docs/Configuring-CGDB.html
  5. " Latest Revision: 2024-04-09
  6. " 2024-05-23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
  7. if exists('b:did_ftplugin')
  8. finish
  9. endif
  10. let b:did_ftplugin = 1
  11. let s:save_cpoptions = &cpoptions
  12. set cpoptions&vim
  13. let b:undo_ftplugin = 'setl com< cms<'
  14. setlocal commentstring=#\ %s
  15. setlocal comments=:#
  16. let &cpoptions = s:save_cpoptions
  17. unlet s:save_cpoptions