how to make keywords of gms files highlighted in vim

hi all, i m new hand in gams, i find that when i edit gms files, it doesn’t look good cuz there isn’t highlights, anyone can tell me how to make it highlighted ? thanx :slight_smile:


To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/xROCCeaCvQYJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

Well
I don’t know for vi but for gedit you can find it here:
http://ubuntuforums.org/archive/index.php/t-1502736.html

if you want to highlight in latexbeamer presentation, I’ve done a template in the past, it’s here:

http://blog.modelworks.ch/?p=179

Regards

2012/8/15 RuiZheng

hi all, i m new hand in gams, i find that when i edit gms files, it doesn’t look good cuz there isn’t highlights, anyone can tell me how to make it highlighted ? thanx :slight_smile:


To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/xROCCeaCvQYJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.



\

Edson Valle
edsoncv@gmail.com


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

Reply-to: gamsworld@googlegroups.com

Hi,

google points me to
http://www.vim.org/scripts/script.php?script_id=3127

Stefan


On 08/15/2012 11:39 AM, RuiZheng wrote:

hi all, i m new hand in gams, i find that when i edit gms files, it doesn’t
look good cuz there isn’t highlights, anyone can tell me how to make it
highlighted ? thanx :slight_smile:


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

\

In case you are using the GAMSIDE, there is a limit on the number
of lines that will be syntax colored.
This value can be changed in File | Options | Editor
and set the value for “Maximum lines for syntax colors”

HTH,

–Paul

On Wed, Aug 15, 2012 at 5:39 AM, RuiZheng wrote:

hi all, i m new hand in gams, i find that when i edit gms files, it doesn’t look good cuz there isn’t highlights, anyone can tell me how to make it highlighted ? thanx :slight_smile:


To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/xROCCeaCvQYJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.



\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

Thanx Edsconcv, now i know how to edit it in Emacs through
http://shirotakeda.org/en/gams/gams-mode.html
and your blog is recommanded there :slight_smile:

On Wednesday, August 15, 2012 9:18:32 PM UTC+8, Edsoncv wrote:h

Well
I don’t know for vi but for gedit you can find it here:
http://ubuntuforums.org/archive/index.php/t-1502736.html

if you want to highlight in latexbeamer presentation, I’ve done a template in the past, it’s here:

http://blog.modelworks.ch/?p=179

Regards

2012/8/15 RuiZheng

hi all, i m new hand in gams, i find that when i edit gms files, it doesn’t look good cuz there isn’t highlights, anyone can tell me how to make it highlighted ? thanx :slight_smile:


To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/xROCCeaCvQYJ.
To post to this group, send email to gams...@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.



\

Edson Valle
eds...@gmail.com


To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/odLJAc4rUMwJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.