Hi,

I'm the developer of a file type plugin for R language:
http://www.vim.org/scripts/script.php?script_id=2628

The plugin includes a script to indent R code and I would like to
propose the inclusion of the script in the Vim' indent directory.

The plugin also has a syntax script for .Rout file types (the output
of R when running in batch mode) and I think it also could be included
in Vim's runtime directory.

I'm attaching the indent and syntax scripts in the the tar.gz.
archive. I'm also attaching the patch to filetype.vim
(rout_filetype.diff).

Thanks!

Jakson Aquino
http://sites.google.com/site/jalvesaq/
http://www.lepem.ufc.br (in Portuguese)

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: r_indent_and_rout_syntax.tar.gz
Description: GNU Zip compressed data

--- filetype.vim	2010-07-04 08:05:31.237326204 -0300
+++ /tmp/filetype.vim	2010-07-20 09:13:05.377854490 -0300
@@ -1547,6 +1525,13 @@
   au BufNewFile,BufRead *.rnw,*.snw			setf rnoweb
 endif
 
+" R output file
+if has("fname_case")
+  au BufNewFile,BufRead *.Rot,*.rout,*.Sout,*.sout	setf rout
+else
+  au BufNewFile,BufRead *.rout,*.sout			setf rout
+endif
+
 " Rexx, Rebol or R
 au BufNewFile,BufRead *.r,*.R			call s:FTr()
 

Raspunde prin e-mail lui