LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GNU Nano Syntax highlighting. (https://www.linuxquestions.org/questions/linux-software-2/gnu-nano-syntax-highlighting-157020/)

oneman00 03-13-2004 02:52 AM

GNU Nano Syntax highlighting.
 
Ive installed the latest gnu nano.

with -enable-nanorc

when I run nano now after uncommenting the perl highlighting options i get

'command syntax not understood'
'command color not understood'

Any clues on this?

Im trying to find an ideal editor for PHP mainly either GUI or terminal, any sugguestions I am open to. Thanks guys

-David

hw-tph 03-15-2004 02:54 AM

I am not really that familiar with Nano (only time I use it is during the Gentoo installation process), but vim supports syntax highlighting and a zillion of other neat features that you could want when programming. Make sure to check out the Tips And Tricks and Scripts sections at the vim website.

Vim is often installed by default with most distributions. If not, it should be easy to build from source.

Håkan

lacheur 12-10-2004 06:24 PM

You need to configure it with both --enable-nanorc and --enable-color.


All times are GMT -5. The time now is 11:29 AM.