Re: [Cgdb-users] Syntax highlight hxx and line highlight
Brought to you by:
bobbybrasko,
crouchingturbo
From: Mike M. <mi...@su...> - 2009-10-05 18:29:09
|
Hi Nathan, On Sun, Oct 04, 2009 at 05:56:04PM +0200, Nathan Huesken wrote: > I am using cgdb and I like it. To questions I have: > > 1. When the source has the hxx ending, syntax highligting is off. I can > switch it on, but can this be automated? Unfortunately, the extensions aren't configurable today, but I can add .hxx to the hard-coded values for now. At least that one will work in our next release. > 2. Can the current line be highlighted a little more? Light white on > dark white for the line number is diffictult to see ... You can configure the highlighting similarly to vim's. Create a file called ~/.cgdb/cgdbrc, and add lines like this: hi SelectedLineNr ctermbg=Blue ctermfg=White That would make the currently selected line show up in white against a blue background, just as an example. The highlight group names are documented in cgdb's online help (:help) in section 5.1. -- Mike Mueller mi...@su... |