Julia syntax highlighting in julia-vim
问题 I use gvim with julia-vim for editing julia code. I am using julia 0.5 on a mac and installed julia-vim with vundle. My problem is that files with the .jl extension do not have appropriate highlighting. For example, if is highlighted but for is not. Any solution for this? 回答1: .jl files are sometimes recognized as lisp files by default, (blame Sawfish) so that's probably the syntax highlighting you're getting. (type defun and progn and etc and see if the pretty colors pop up) You were close