VIM and IDL
VIM has good support for many languages, IDL included. They syntax highlighting is pretty nice, however, the default indenting leaves something to be desired. I adapted the indent file that came with MacVIM to also indent functions and procedures.
Create a directory ~/.vim/indent and move the idlang file into it. VIM will now automatically pick it up when it detects that you're editing an IDL .pro file. You may have to also set the following in your .vimrc:
syntax on filetype plugin indent on
In addition, to use folding, you may want to create a directory ~/.vim/ftplugin with a file idlang.vim with the following content:
set foldnestmax=1 set foldmethod=indent
Bugs & feature requests
Please send bugreports and feature requests to dwijn at iluvatar.org.
|© 2004–2013, Alfred de Wijn|