view runtime/ftplugin/cgdbrc.vim @ 35442:08468d7e398c

runtime(java): Add a config variable for commonly used compiler options Commit: https://github.com/vim/vim/commit/0ddab582fa13d1d653800494e45ecfba00974a18 Author: Doug Kearns <dougkearns@gmail.com> Date: Sun Jun 16 16:58:09 2024 +0200 runtime(java): Add a config variable for commonly used compiler options The value of g:javac_makeprg_params, if set, is added to the value of 'makeprg' as an option string. closes: #14999 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Jun 2024 17:00:10 +0200
parents 7c7432a53a6c
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             cgdbrc
" Maintainer:           Wu, Zhenyu <wuzhenyu@ustc.edu>
" Documentation:        https://cgdb.github.io/docs/Configuring-CGDB.html
" Latest Revision:      2024-04-09
"                       2024-05-23 by Riley Bruins <ribru17@gmail.com> ('commentstring')

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

let s:save_cpoptions = &cpoptions
set cpoptions&vim

let b:undo_ftplugin = 'setl com< cms<'

setlocal commentstring=#\ %s
setlocal comments=:#

let &cpoptions = s:save_cpoptions
unlet s:save_cpoptions