forked from BrainDynamicsUSYD/nftsim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nf_conf.vim
30 lines (22 loc) · 1006 Bytes
/
nf_conf.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
" nf_conf.vim
" implements syntax highlighting for *.conf in vi
" to install, copy this file into ~/.vim/syntax/
" and add "au BufRead,BufNewFile *.conf setfiletype nf_conf" into
" ~/.vim/filetype.vim
syn region error start='\%^' end='$'
syn region error start='"' end='"'
syn keyword preproc Time Deltat Nodes Topology Bath Glutamate dynamics Onset Cease Duration Output Length
syn keyword CntKey From To nextgroup=CntI skipwhite skipnl skipempty
syn match CntI '\d\+' contained
syn keyword Object Connection matrix Population Stimulus Population Firing Dendrite Propagator Coupling nextgroup=Index skipwhite skipnl skipempty
syn match Index '\d\+' contained
syn match Choice /:\D*-/ms=s+1,me=e-1
syn keyword statement Q phi Tau nu
syn match Number '\<[-+]\=\d*\.\=\d*[eE]\=[-+]\=\d*\>'
syn keyword Constant Steady All Torus Nonperiodic
hi def link Object type
hi def link Index type
hi def link CntKey preproc
hi def link CntI preproc
hi def link Choice statement
let b:current_syntax = "nftsim"