Re: vim syntax highlighting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ewan Edwards wrote:

On Wed, Nov 05, 2003 at 12:57:48PM -0500, shane c branch wrote:

Ewan Edwards wrote:


On Wed, Nov 05, 2003 at 12:30:12PM -0500, shane c branch wrote:


i apparently hit some key combination inadvertently and now, for any file i bring up in vim, the # comment markers are highlighted in yellow. this is annoying, can anyone tell me how to turn that off, please?


:syntax off


will that remove all the syntax highlighting? i want the highlighting, i just don't want the '#' character marked in yellow. i want it to be blue like the rest of the comment text.


Ahh, gotcha. Yes, that would turn off all syntax highlighting, and
that's what I thought you were looking for.

You may have hit '#' while the cursor was on a '#' (# searches backwards
for the 'word' under the cursor), or searched for a '#' character.

Search for something else (ie /aslkalsjd), or turn search highlighting
off with:

:set nohlsearch


that did it. thank you.


--

regards,

shane


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux