2011-08-26 11:20:53 +00:00
|
|
|
The following editors have some Nimrod support:
|
|
|
|
|
|
|
|
### Emacs
|
|
|
|
https://github.com/eegg/nimrod-mode
|
|
|
|
|
|
|
|
### Vim
|
|
|
|
https://github.com/zah/nimrod.vim/
|
|
|
|
|
|
|
|
* Syntax Highlighting
|
|
|
|
* Auto-indent
|
|
|
|
* Build/Jump to errors within Vim
|
2012-11-10 21:30:47 +00:00
|
|
|
* Project Navigation and Jump to Definition (using the Ctags support listed below or Nimrod's idetools command)
|
2011-08-26 11:20:53 +00:00
|
|
|
|
|
|
|
### Scite
|
|
|
|
Recent versions of Scite have out-of-the-box support for Nimrod. For older versions: <br />
|
|
|
|
http://scintilla.hg.sourceforge.net/hgweb/scintilla/scite/raw-file/0d8c2122d6f8/src/nimrod.properties
|
|
|
|
|
|
|
|
### Aporia
|
2011-08-26 14:09:59 +00:00
|
|
|
Aporia is a Nimrod IDE written in Nimrod. <br />
|
2011-08-26 11:20:53 +00:00
|
|
|
https://github.com/nimrod-code/Aporia/tree/
|
|
|
|
|
2011-08-26 14:09:59 +00:00
|
|
|
### Gedit/Other GtkSourceView editors
|
|
|
|
There is a .lang file for gedit [here](https://github.com/nimrod-code/Aporia/blob/master/share/gtksourceview-2.0/language-specs/nimrod.lang)
|
|
|
|
|
2011-08-26 11:20:53 +00:00
|
|
|
### Ctags
|
|
|
|
Basic ```~/.ctags``` rules for nimrod code (Feel free to improve and contribute)
|
|
|
|
|
|
|
|
```
|
|
|
|
--langdef=nimrod
|
|
|
|
--langmap=nimrod:.nim
|
|
|
|
--regex-nimrod=/(\w+)\*?\s*=\s*object/\1/t,class/
|
|
|
|
--regex-nimrod=/(\w+)\*?\s*=\s*enum/\1/t,enum/
|
|
|
|
--regex-nimrod=/(\w+)\*?\s*=\s*tuple/\1/t,tuple/
|
|
|
|
--regex-nimrod=/(\w+)\*?\s*=\s*range/\1/t,subrange/
|
|
|
|
--regex-nimrod=/(\w+)\*?\s*=\s*proc/\1/t,proctype/
|
|
|
|
--regex-nimrod=/proc\s+(\w+)/\1/f,procedure/
|
|
|
|
--regex-nimrod=/method\s+(\w+)/\1/f,method/
|
|
|
|
--regex-nimrod=/proc\s+`([^`]+)`/\1/o,operator/
|
|
|
|
--regex-nimrod=/template\s+(\w+)/\1/t,template/
|
|
|
|
--regex-nimrod=/macro\s+(\w+)/\1/m,macro
|
2012-10-21 15:54:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### jEdit
|
|
|
|
https://github.com/exhu/nimrod-misc/tree/master/jedit
|