blob: a636b90823d51dcb23216ebe5371877f815e84e8 (
plain)
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
|
"" requires:
""
"" chicken-install chicken-doc
"" cd `csi -R chicken.platform -p '(chicken-home)'`
"" curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | tar zx
""
"" then run ../gen-scheme-words
""
let b:is_chicken=1
setl complete+=d,k~/.local/share/scheme/words/**
setl include=\^\(\\(use\\\|require-extension\\)\\s\\+
setl includeexpr=substitute(v:fname,'$','.scm','')
setl path+=/home/chl/.cache/chicken-install
setl suffixesadd=.scm
setl lispwords+=let-values,condition-case,with-input-from-string
setl lispwords+=with-output-to-string,handle-exceptions,call/cc,rec,receive
setl lispwords+=call-with-output-file
nmap <buffer> gs :10 split term://csi -s %<cr>:startinsert<cr>
setl makeprg=csc\ %
setlocal keywordprg=chicken-doc\ scheme
|