Arc Forumnew | comments | leaders | submitlogin
3 points by shlomif 6044 days ago | link | parent

I started adapting the syntax/filetype/indent vim configuration files of Scheme to Arc. You can find what I have so far in the git Arc-wiki under extras/vim:

* http://git.nex-3.com/arc-wiki.git

* git://nex-3.com/arc-wiki.git

Everyone can commit there so I'd be happy if you can resume work on what is present there.

Regards,

        Shlomi Fish


2 points by tokipin 6042 days ago | link

how do i make it so that it automatically sets the lang as Arc when i open an arc file?

-----

3 points by wxin 6039 days ago | link

Just add following line to your ~/.vimrc.

   au bufnewfile,bufread	*.arc 	set ft=arc

-----

1 point by treef 6042 days ago | link

i also stuck the vi script i picked up earlier on the forum it - it can execute expressions or full file when you press f5 or f6 in a different window that is running arc that is started by python that is piped from vim.

-----