Change font size
It is currently Sat May 18, 2013 5:40 am

Forum rules


Image



Post a new topicPost a reply Page 1 of 1   [ 8 posts ]
Author Message
 Post subject: Didn't know about this
PostPosted: Sun Jun 03, 2012 6:57 pm 
Furious Typer
User avatar

Joined: Fri Aug 19, 2011 7:10 pm
Posts: 144
Location: Oldham, UK
So I guess others may not know, either, but deciding to spend some time going through Shad's scripts (outside of OSG) I thought it would be nice to have syntax highlighting in my favourite editor (Vim). Blow me, but there's a file for that, which can be found at http://vim.cybermirror.org/runtime/syntax/lsl.vim. On Linux copy it to ~/.vim/syntax (create the directory if it doesn't exist). It should also work with Vim on Windows, but you'll have to check where to copy it to yourself for that.

NB. I found a couple of different files for Vim knocking about, but the one linked seems most up to date. Older ones choke on scripts using newer developments.

For users of other editors, a quick google suggests that similar syntax highlighting files are available.

_________________
50's sim based at Rumbled on OSGrid
happily running on Arch Linux for 1 year +


Top
 Profile  
 
 Post subject: Re: Didn't know about this
PostPosted: Sun Jun 03, 2012 11:05 pm 
Furious Typer

Joined: Tue Mar 15, 2011 7:04 pm
Posts: 89
Real Men use VI lol

Cant bring myself to use Vim or joe or any of the others in *Nix


Top
 Profile  
 
 Post subject: Re: Didn't know about this
PostPosted: Mon Jun 04, 2012 3:16 am 
Furious Typer
User avatar

Joined: Fri Aug 19, 2011 7:10 pm
Posts: 144
Location: Oldham, UK
Vim IS Vi (improved) ;)

_________________
50's sim based at Rumbled on OSGrid
happily running on Arch Linux for 1 year +


Top
 Profile  
 
 Post subject: Re: Didn't know about this
PostPosted: Mon Jun 04, 2012 8:23 am 
NVI or GTFO :p
(I kid, I kid...)


Top
  
 
 Post subject: Re: Didn't know about this
PostPosted: Mon Jun 04, 2012 9:43 am 
Furious Typer
User avatar

Joined: Mon Aug 10, 2009 11:53 pm
Posts: 171
nano -> for all our quick fix needs ;)
lol

_________________
Sorry, I was just thinking upon the immortal words of Socrates who said ... "I drank what?? ... "
- Real Genius


Top
 Profile  
 
 Post subject: Re: Didn't know about this
PostPosted: Mon Jun 04, 2012 11:37 am 
Furious Typer

Joined: Mon Apr 25, 2011 6:48 pm
Posts: 70
WhiteStar has a language syntax highlighter for users of Notepad++ a Windows text editor. It is OpenSim aware, highlighting OS functions. Very nice, I use it as the color scheme matches the built in editor of my viewer.

Here is a version of VIM, called gVim from PortableApps.com, also for Windows. Haven't used this one.

Shad


Top
 Profile  
 
 Post subject: Re: Didn't know about this
PostPosted: Mon Jun 04, 2012 1:47 pm 
Furious Typer

Joined: Tue Mar 15, 2011 7:04 pm
Posts: 89
Roken Price wrote:
Vim IS Vi (improved) ;)


cat Roken |more hahah


Top
 Profile  
 
 Post subject: Re: Didn't know about this
PostPosted: Mon Jun 04, 2012 5:52 pm 
Haplo Voss wrote:
nano -> for all our quick fix needs ;)
lol

nano totally rocks --it was my favorite editor until I learned nvi! \m/


Top
  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 8 posts ]


Who is online

Users browsing this forum: legacy_google [bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net