editor - Can vim recognize indentation styles (tabs vs. spaces) automatically? -
i'm working on large codebase, each file has different indentation conventions: tabs, 4 spaces, 3 spaces, etc.
i default on tabs , set shiftwidth=n expandtab smarttab
when come across spaces-indented file, that's annoying.
is there functionality in vim, or plugin, can recognize that, instance, current buffer uses indentation 3 spaces per shift?
various plugins exist attempt handle situation. here few found search detect indent
@ vim.org
Comments
Post a Comment