[julia-users] Re: Syntax Highlighting in Vim

2015-07-30 Thread Ratan Sur
It seems like vim thinks ; is the comment char for julia when it's actually 
#. Do you know how one might fix this?

On Sunday, December 15, 2013 at 2:18:21 AM UTC-5, Thomas Moore wrote:

 I recently installed Ubuntu 12.04, and from there installed Julia through 
 githib. Now, when I open a .jl file in Vim, it seems there's some sort of 
 syntax highlighting which works, but it's inconsistent (words like 
 function, print and if are coloured, but others like for and 
 while are not.)

 Does anyone have any idea what's wrong here? Alternatively, I'm not really 
 attached to any editor yet in Ubuntu, and so if there's an easier way to 
 set up another editor with syntax highlighting, feel free to recommend it.

 Thanks



[julia-users] Re: Syntax Highlighting in Vim

2015-07-30 Thread Tero Frondelius
If you are new to Vim, you might also want to consider 
Juno http://junolab.org/. 

On Sunday, December 15, 2013 at 9:18:21 AM UTC+2, Thomas Moore wrote:

 I recently installed Ubuntu 12.04, and from there installed Julia through 
 githib. Now, when I open a .jl file in Vim, it seems there's some sort of 
 syntax highlighting which works, but it's inconsistent (words like 
 function, print and if are coloured, but others like for and 
 while are not.)

 Does anyone have any idea what's wrong here? Alternatively, I'm not really 
 attached to any editor yet in Ubuntu, and so if there's an easier way to 
 set up another editor with syntax highlighting, feel free to recommend it.

 Thanks



[julia-users] Re: Syntax Highlighting in Vim

2014-12-31 Thread 陶旭
Well, just as you said, the manual method does not work since there is no 
.vim file in my home directory? Could you share your successful 
installation experience?

On Friday, January 31, 2014 1:25:37 PM UTC+8, Thomas Moore wrote:

 I got it working now :) This is probably quite obvious to most users, but 
 I didn't know a new VIM user needs to make a .vim file in ~/.vim, and if 
 this doesn't exist the manual install won't work. I hope this helps someone.


 On Sunday, 15 December 2013 17:18:21 UTC+10, Thomas Moore wrote:

 I recently installed Ubuntu 12.04, and from there installed Julia through 
 githib. Now, when I open a .jl file in Vim, it seems there's some sort of 
 syntax highlighting which works, but it's inconsistent (words like 
 function, print and if are coloured, but others like for and 
 while are not.)

 Does anyone have any idea what's wrong here? Alternatively, I'm not 
 really attached to any editor yet in Ubuntu, and so if there's an easier 
 way to set up another editor with syntax highlighting, feel free to 
 recommend it.

 Thanks