On Mon, Sep 28, 2009 at 1:04 AM, Ralf Schmitt <[email protected]> wrote: > > > Hi list, > > my question is like this. I work on different software projects each > in a different language and a different code style. > Project a) uses indentation with real tabs and project b) uses indentation > with 4 spaces each step. > > I know all those settings for vim to control that but now I want something > more dynamic. Some feature where vim is able to detect which indentation > style to use without changing any project source files. >
http://vim.wikia.com/wiki/Determine_indent_settings Though the wiki talks primarily about python files, the information is useful in other places as well. -- HTH, Hari > > kind regards > ralf > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
