Thursday, June 2, 2011

csindent.vim users?

Hello --

I discovered the plugin csindent.vim, a script that selects a C or C++ indent style based on the directory that a file resides in. I had two questions about this script that I couldn't find answers to and I hope someone on this list can help me out.

(1) Is there a way to modify (or maybe this is already available in the plugin) to change the code style once I open a file? I work on several projects and although I could define each directory in the .vim_csindent.ini file, I would like to set the code style from vim.

(2) I've been hunting around for other C indent files for this plugin, but have only found google.vim. The page http://www.vim.org/scripts/script.php?script_id=2633 lists several different indent files, but search through  Google and the www.vim.org site hasn't turned up the files. Any users here have indent files besides google.vim? 

And, yes, I have emailed the developer these questions but he has not replied.

Thanks in advance!

Lori Pritchett-Sheats

--
You received this message from the "vim_use" 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

No comments: