neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

cgdbrc.vim (580B)


      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 
      8 if exists('b:did_ftplugin')
      9  finish
     10 endif
     11 let b:did_ftplugin = 1
     12 
     13 let s:save_cpoptions = &cpoptions
     14 set cpoptions&vim
     15 
     16 let b:undo_ftplugin = 'setl com< cms<'
     17 
     18 setlocal commentstring=#\ %s
     19 setlocal comments=:#
     20 
     21 let &cpoptions = s:save_cpoptions
     22 unlet s:save_cpoptions