[slim-vim] Carbon GUI + ECL
Richard Newman
rnewman at tellme.com
Mon Sep 11 11:48:07 CDT 2006
> That makes sense. ECL-REPL creates that buffer. We could change it
> in ecl-slime.vim to modify its filetype I guess. Patch anybody? :)
... from what I can see:
ecl-repl.vim:
function! s:New_tmp_lisp_buffer( name, modifiable )
silent exec "vert new" a:name
let bufnr = bufnr( "%" )
silent setlocal bufhidden=hide buftype=nofile filetype=lisp
noswapfile
let &l:modifiable = a:modifiable
close
return bufnr
endfunction
...
let s:repl_buffer_nr = s:New_tmp_lisp_buffer( s:lisp_output, 0 )
let s:lisp_buffer_nr = s:New_tmp_lisp_buffer( s:lisp_input, 1 )
ecl (defparameter ecl-repl::*repl-buffer-nr* (1- (vim:var
"s:repl_buffer_nr")))
ecl (defparameter ecl-repl::*lisp-buffer-nr* (1- (vim:var
"s:lisp_buffer_nr")))
ecl (setf ecl-repl::*s-lisp-output* (vim:var "s:lisp_output"))
It looks like that's not the problem at all... unless I'm confused,
which I might be (I'm not used to vimscript).
-R
More information about the slim-vim
mailing list