I mean quickfix features of Vim (:help quickfix).
Shortly it is possibility to run interpreter/compiler or
any other tool from vim (:make). Vim supports
convenient navigation through  error/warning
lines (:cn, :cp, :cw) which can be used for
mistakes "quickfix"ing.

For example ikarus emtis foollowing syntax-violation output:
"""
Unhandled exception:
 Condition components:
   1. &who: fail
   2. &message: "Should fail here"
   3. &syntax:
       form: "Should fail here"
       subform: #f
   4. &source-information:
       file-name: "try-sviol.scm"
       character: 196
   5. &trace: #<syntax "Should fail here" [char 196 of try-sviol.scm]>
"""
Vim parses '&source-information' part and puts cursor on char 196
of try-sviol.scm file.
Something like this is implemented in DrScheme.

I asked for help because vim error format settings are somewhat
tricky and my hope was that somebody already has this done.

--
Bohdan

On Dec 27, 2:03 am, Abdulaziz Ghuloum <[email protected]> wrote:
> On Dec 26, 2008, at 4:01 PM, kub wrote:
>
> > I've seen a topic about using vim with ikarus.
> > Any success in this area (mainly interested in quickfix)?
>
> Sorry, but, quick fix for what?  If you're talking about
> library file extension (e.g., ".sls"), then you can add
> the following to your ~/.vim/filetype.vim
>
> if exists("did_load_filetypes")
>      finish
> endif
> augroup filetypedetect
>      au! BufRead,BufNewFile *.sls       setfiletype scheme
>      au! BufRead,BufNewFile *.sps       setfiletype scheme
>      au! BufRead,BufNewFile *.ss        setfiletype scheme
>      au! BufRead,BufNewFile *.scm       setfiletype scheme
> augroup END
>
> Is there anything else?
>
> Aziz,,,

Reply via email to