Wu, Zhenyu | 1492fe6 | 2024-04-10 22:52:40 +0200 | [diff] [blame] | 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 | |
| 7 | if exists('b:did_ftplugin') |
| 8 | finish |
| 9 | endif |
| 10 | let b:did_ftplugin = 1 |
| 11 | |
| 12 | let s:save_cpoptions = &cpoptions |
| 13 | set cpoptions&vim |
| 14 | |
| 15 | let b:undo_ftplugin = 'setl com< cms<' |
| 16 | |
| 17 | setlocal commentstring=#%s |
| 18 | setlocal comments=:# |
| 19 | |
| 20 | let &cpoptions = s:save_cpoptions |
| 21 | unlet s:save_cpoptions |