vim
Download the “VimClojure” plugin from here;
Unzip the package zip file to your “~/.vim/“;
Make sure you have the following lines into your “~/.vimrc” file:
1 | syntax on |
- Now open a clojure file in vim and you will see the syntax highlight.
gedit
Clone the “clojure_for_gedit” project from GitHub;
Run the “install.sh” script or the commands below(for my Ubuntu 12.04 specifically):
1 | sudo cp clojure.lang /usr/share/gtksourceview-3.0/language-specs/clojure.lang |
- Open gedit again and you will see the Clojure syntax highlight.